зеркало из https://github.com/mono/ikvm-fork.git
Fixed Type.GetNestedType(). The name passed in is not escaped, so we should match with __Name.
This commit is contained in:
Родитель
4bac6ca9f4
Коммит
44dc4dfabc
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче