2009-11-11 Rodrigo Kumpera <rkumpera@novell.com>
commit43a86be384278e9893a6abd7fe9ef08e493285c5
authorkumpera <kumpera@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Thu, 12 Nov 2009 02:18:31 +0000 (12 02:18 +0000)
committerkumpera <kumpera@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Thu, 12 Nov 2009 02:18:31 +0000 (12 02:18 +0000)
treeddb8b38d12ff8e9d735161a94ba6e7a2f820514a
parent5774bbbc16c7e5859a9ee62504879ac72adefcd5
2009-11-11 Rodrigo Kumpera  <rkumpera@novell.com>

* Type.cs: Fix Make(Array|ByRef|Pointer)Type to not crash
with user types.

* Type.cs (MakeGenericType): Don't crash with user types.

* Type.cs (GetGenericParameterConstraints): Don't crash with user types.

* Type.cs (GenericParameterAttributes): Don't crash with user types.

* Type.cs (IsInstanceOfType): Don't crash with user types.

* Type.cs (IsAssignableFrom): Better handle User Types.

* Type.cs (GetInterfaceMap): Don't crash with user types.

* Type.cs (Equals): Fix behavior to be more MS compatible.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@146014 e3ebcda4-bce8-0310-ba0a-eca2169e7518
class/corlib/System/ChangeLog
class/corlib/System/Type.cs