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

Rafael Teixeira monoman at gmail.com
Thu Feb 7 23:25:13 UTC 2013


looks like a bug. please report

Rafael "Monoman" Teixeira
---------------------------------------
"The most exciting phrase to hear in science, the one that heralds new
discoveries, is not 'Eureka!' (I found it!) but 'That's funny ...'"
Isaac Asimov
US science fiction novelist & scholar (1920 - 1992)


On Thu, Feb 7, 2013 at 8:16 PM, artyom.szasa at gmail.com <
artyom.szasa at gmail.com> wrote:

> 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
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130207/77099edf/attachment.html>


More information about the Mono-devel-list mailing list