[Mono-list] Fwd: monodoc.dll looking for missing method in mscorlib.dll
Chris Howie
cdhowie at gmail.com
Thu Dec 31 18:54:14 EST 2009
On Wed, Dec 30, 2009 at 4:11 PM, A.M. Abdelaziz <amamh3 at gmail.com> wrote:
> I think that method does exist in mscorlib.dll as I tried
> Console.WriteLine( typeof(string) == typeof(string) );
> it compiled and ran fine
> of course I compiled mono with the flag "--with-profile4=yes"
That doesn't necessarily mean that the overload does exist. Reference
equality on Type objects usually works fine.
I'm not saying that the overload doesn't exist, all I'm saying is that
your test doesn't actually prove either case. Try instead compiling
that example and running monodis on it. The IL will show you if a
method call is being made or if it's just a ceq (reference
comparison).
--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
More information about the Mono-list
mailing list