зеркало из https://github.com/mono/ikvm-fork.git
Added new .NET 4.5 property Type.GenericTypeArguments.
This commit is contained in:
Родитель
83329f5f74
Коммит
7fb7d281c0
|
@ -302,6 +302,11 @@ namespace IKVM.Reflection
|
|||
return ReferenceEquals(type, this) ? base.GetHashCode() : type.GetHashCode();
|
||||
}
|
||||
|
||||
public Type[] GenericTypeArguments
|
||||
{
|
||||
get { return IsConstructedGenericType ? GetGenericArguments() : Type.EmptyTypes; }
|
||||
}
|
||||
|
||||
public virtual Type[] GetGenericArguments()
|
||||
{
|
||||
return Type.EmptyTypes;
|
||||
|
|
Загрузка…
Ссылка в новой задаче