зеркало из https://github.com/mono/ikvm-fork.git
Bug fix. MethodInfo.GetGenericMethodDefinition() should reset the ReflectedType.
This commit is contained in:
Родитель
3ea85da03a
Коммит
3563bf2809
|
@ -243,12 +243,12 @@ namespace IKVM.Reflection
|
|||
|
||||
public override MethodInfo MakeGenericMethod(params Type[] typeArguments)
|
||||
{
|
||||
return (MethodInfo)method.MakeGenericMethod(typeArguments).SetReflectedType(reflectedType);
|
||||
return SetReflectedType(method.MakeGenericMethod(typeArguments), reflectedType);
|
||||
}
|
||||
|
||||
public override MethodInfo GetGenericMethodDefinition()
|
||||
{
|
||||
return (MethodInfo)method.GetGenericMethodDefinition().SetReflectedType(reflectedType);
|
||||
return method.GetGenericMethodDefinition();
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
|
|
Загрузка…
Ссылка в новой задаче