Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2011-03-06 09:37:29 +0300
committerjfrijters <jfrijters>2011-03-06 09:37:29 +0300
commit75da6c389f8c45429288cc2eb50b6d43d3204973 (patch)
treea8a1f622fee6892aea8a7a4c78aedf931c168cf5 /reflect/Type.cs
parentb9a8c3986260699dc2e09d07113e93cb5321503e (diff)
Allow MakeGenericType() to be used on missing type.
Diffstat (limited to 'reflect/Type.cs')
-rw-r--r--reflect/Type.cs2
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();
}