2009-12-17 Rodrigo Kumpera <rkumpera@novell.com>
commitacaa576e63cd2230c61a34c166615372d7bf0ce8
authorkumpera <kumpera@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Thu, 17 Dec 2009 22:57:23 +0000 (17 22:57 +0000)
committerkumpera <kumpera@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Thu, 17 Dec 2009 22:57:23 +0000 (17 22:57 +0000)
tree128d9194f7047025929e31f801726fb9719d12a6
parent9b1233d659aa63642ef2c6859dee07dee5c18324
2009-12-17 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs (GetMethods): When the GTD is not a typebuilder,
calling GetMethods on it will return everything we need so no need to
do the crazy loop.
The returned methods might contains some that are not from a generic type
so we need to guard against this as well.

* MonoGenericClass.cs (GetMethodsInternal): Guard against methods that don't
belong to a GTD as well.

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