[Mono-dev] Object.GetType() is virtual on mono but is not on .NET?

artyom.szasa at gmail.com artyom.szasa at gmail.com
Thu Feb 7 22:16:50 UTC 2013


Hi All,

I have a small question to anyone concerned. I'm running the following
extremely trivial code:

Console.WriteLine (typeof (object).GetMethod ("GetType",
BindingFlags.Instance|BindingFlags.Public).IsVirtual);

On mono (3.0.2 built from sources) the resut is True.
On .Net 4.0 (Windows 7) the result is False. (And that's what I originally
excepted.)

Is it a bug? Should I report it? If so how should I report it?

-- 
Best Regards,
Artyom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130207/41fb0f72/attachment.html>


More information about the Mono-devel-list mailing list