A TypeRef with a null ResolutionScope is legal and refers to an entry in the export table of the current module.

This commit is contained in:
jfrijters 2010-06-30 07:22:06 +00:00
Родитель 9439e02ec7
Коммит 9abce7789f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -379,7 +379,7 @@ namespace IKVM.Reflection.Reader
break;
}
case ModuleTable.Index:
if (scope != 1)
if (scope != 0 && scope != 1)
{
throw new NotImplementedException("self reference scope?");
}