[Mono-bugs] [Bug 582369] Passing Action<T> delegate parameter causes compile error
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Feb 24 12:08:02 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=582369
http://bugzilla.novell.com/show_bug.cgi?id=582369#c2
--- Comment #2 from Rick Fleming <rfleming at acqusys.com> 2010-02-24 17:08:02 UTC ---
Reading your comment made me realize this was an extension method, I was able
to get mcs compiler to behave the same way as the Microsoft C# compiler by
adding a using Masstransit; to the beginning of the {project
directory}/src/MassTransit/Grid/Sagas/ServiceMessage.cs file, and it built
successfully. What is interesting is that MonoDevelop would show the tooltip
information for the extension method in the same fashion that Visual Studio and
the Microsoft C# compiler functions, leading that default namespaces work the
same, however the Mono C# compiler seems to need the using clause in order to
be able to completely use the extension method... even more interesting is
that the compiler halfway knows that it is an extension method since it infers
the this parameter, but doesn't seem to know how to associate it correctly to
actually make the call.
--
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.
More information about the mono-bugs
mailing list