diff options
author | jfrijters <jfrijters> | 2011-01-23 11:12:13 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-01-23 11:12:13 +0300 |
commit | 209830e5fe68fc938e87dbb055b61582439a9b40 (patch) | |
tree | 18a70a4949867ad08fac4806d15107557beb98af /reflect/Type.cs | |
parent | 2eb4346e4de0f85e51cd9cc464a0c18eea67d729 (diff) |
Add support for reflecting on assemblies without loading mscorlib (or with partial mscorlib) when missing type resolution is enabled.
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 e47cd60b..444d14d5 100644 --- a/reflect/Type.cs +++ b/reflect/Type.cs @@ -749,7 +749,7 @@ namespace IKVM.Reflection internal Type ResolveNestedType(TypeName typeName) { - return FindNestedType(typeName) ?? Module.universe.GetMissingType(Module, this, typeName); + return FindNestedType(typeName) ?? Module.universe.GetMissingTypeOrThrow(Module, this, typeName); } // unlike the public API, this takes the namespace and name into account |