diff options
author | jfrijters <jfrijters> | 2011-03-06 09:37:29 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-03-06 09:37:29 +0300 |
commit | 75da6c389f8c45429288cc2eb50b6d43d3204973 (patch) | |
tree | a8a1f622fee6892aea8a7a4c78aedf931c168cf5 /reflect/Type.cs | |
parent | b9a8c3986260699dc2e09d07113e93cb5321503e (diff) |
Allow MakeGenericType() to be used on missing type.
Diffstat (limited to 'reflect/Type.cs')
-rw-r--r-- | reflect/Type.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reflect/Type.cs b/reflect/Type.cs index f58ad42f..6042a0a1 100644 --- a/reflect/Type.cs +++ b/reflect/Type.cs @@ -1237,7 +1237,7 @@ namespace IKVM.Reflection public Type __MakeGenericType(Type[] typeArguments, Type[][] requiredCustomModifiers, Type[][] optionalCustomModifiers) { - if (!this.IsGenericTypeDefinition) + if (!this.__IsMissing && !this.IsGenericTypeDefinition) { throw new InvalidOperationException(); } |