[Mono-dev] [PATCH] Fix Type.Equals to support user defined types (required by vbnc)
kornelpal at gmail.com
Sun Oct 29 13:13:09 EST 2006
I modified Type.Equals (Type) to use UnderlyingSystemType and use internal
call only when both types are system types, otherwise only check for
reference equality. This seems to be the MS.NET behavior. Note that I don't
know why the internal call is required but mcs tree fails to build without
using the internal call.
GetType is modified to use UnderlyingSystemType and use default
implementation for non-system types.
The old Type behavior is moved to MonoType that seems to be compatiblie with
Please review and approve the patch.
More information about the Mono-devel-list