2010-04-08 Rodrigo Kumpera <rkumpera@novell.com>
* AssemblyBuilder.cs (GenericInstanceKey): Precalculate
GenericInstanceKey hash code since this can cause infinite
recursion when inflating "Foo<T> : Bar<Foo<T>>" parent.
* TypeBuilder.cs (IsSubclassOf): Don't delegate to base class
since the unmanaged information can be out of sync.
* TypeBuilder.cs (UnderlyingSystemType): Invert the test order
since IsEnum now is potentialy more expensive.
Fixes #594728.
git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@155053 e3ebcda4-bce8-0310-ba0a-eca2169e7518