diff options
author | jfrijters <jfrijters> | 2011-01-13 10:08:00 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-01-13 10:08:00 +0300 |
commit | 44dc4dfabc63123c4d812d1342d27147c4d9d133 (patch) | |
tree | 0f96aa682739bafecfe12011934fd5713c1a2ada /reflect/Type.cs | |
parent | 4bac6ca9f4090e42b79131b9f57c570cf2fb3328 (diff) |
Fixed Type.GetNestedType(). The name passed in is not escaped, so we should match with __Name.
Diffstat (limited to 'reflect/Type.cs')
-rw-r--r-- | reflect/Type.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/reflect/Type.cs b/reflect/Type.cs index 3a9613fa..8f8d9c7e 100644 --- a/reflect/Type.cs +++ b/reflect/Type.cs @@ -756,7 +756,8 @@ namespace IKVM.Reflection { foreach (Type type in GetNestedTypes(bindingAttr)) { - if (type.Name == name) + // FXBUG the namespace is ignored + if (type.__Name == name) { return type; } |