diff --git a/reflect/Type.cs b/reflect/Type.cs index bb0273c6..523dce92 100644 --- a/reflect/Type.cs +++ b/reflect/Type.cs @@ -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;