http://bugzilla.novell.com/show_bug.cgi?id=580564
http://bugzilla.novell.com/show_bug.cgi?id=580564#c0 Summary: GMCS Requires reference to System.Core for extension methods Classification: Mono Product: Mono: Compilers Version: 2.6.x Platform: Macintosh OS/Version: Mac OS X 10.6 Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: No Description of Problem: Compilation fails if a) the project references an assembly in which that assembly defines extension methods, b) those extension methods are used in the project, and c) there is NO reference to System.Core. Although it's understandable this might make a compilation fail, the error message it reports is very misleading and it's difficult to know it's the missing System.Core reference that's failing things. Another issue is VS.NET / Microsoft .NET does not require this and therefore VS.NET projects with this scenario will compile in VS.NET but will not compile MonoDevelop. Speaking of MonoDevelop - this may or may not indicate a bug for MonoDevelop as well. Code Completion in MonoDevelop will happily suggest extension methods, but w/o the System.Core reference - as stated above - the project won't compile when you try. This leads to an even more frustrating experience since the tool is helping you find / use the extension methods but then you cannot compile. -- Configure bugmail: http://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
