https://bugzilla.novell.com/show_bug.cgi?id=644673
https://bugzilla.novell.com/show_bug.cgi?id=644673#c0 Summary: The -addmodule parameter fails to load types in the loaded module for type resolution Classification: Mono Product: Mono: Compilers Version: 2.8.x Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5 I made the test with the files test-416-mod.cs and test-416.cs given with the Mono 2.8 sources : 1. I compile a .Net module using: gmcs /target:module test-416-mod.cs. => compilation OK 2. I try to compile using: gmcs /addmodule:test-416-mod.netmodule test-416.cs > FAIL: test-416.cs(11,17): error CS0246: The type or namespace name `Adder' > could not be found. Are you missing a using directive or an assembly > reference? Reproducible: Always Steps to Reproduce: 1.gmcs /target:module test-416-mod.cs 2.gmcs /addmodule:test-416-mod.netmodule test-416.cs 3. Actual Results: test-416.cs(11,17): error CS0246: The type or namespace name `Adder' could not be found. Are you missing a using directive or an assembly reference? Expected Results: No error The content of test-416-mod.cs is : namespace n1 { public class Adder { public int Add(int x, int y) { return x+y; } } } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
