diff options
author | jfrijters <jfrijters> | 2011-01-13 10:24:50 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-01-13 10:24:50 +0300 |
commit | 29d4433de539ff997d45eee731ab9eb6f227ec44 (patch) | |
tree | 518970f8931007a2197aba09c38aac7201d00caf /reflect/TypeNameParser.cs | |
parent | 44dc4dfabc63123c4d812d1342d27147c4d9d133 (diff) |
Fixed resolving nested type by name.
Diffstat (limited to 'reflect/TypeNameParser.cs')
-rw-r--r-- | reflect/TypeNameParser.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reflect/TypeNameParser.cs b/reflect/TypeNameParser.cs index d6c18ee9..77686f03 100644 --- a/reflect/TypeNameParser.cs +++ b/reflect/TypeNameParser.cs @@ -407,7 +407,7 @@ namespace IKVM.Reflection { foreach (string nest in nested) { - type = type.GetNestedType(nest, BindingFlags.Public | BindingFlags.NonPublic); + type = type.GetNestedTypeCorrectly(TypeNameParser.Unescape(nest)); if (type == null) { if (throwOnError) |