This commit is contained in:
jfrijters 2005-08-25 13:15:42 +00:00
Родитель ab7ad1b776
Коммит fae01a5623
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -200,7 +200,7 @@ namespace IKVM.Internal
internal TypeWrapper RegisterInitiatingLoader(TypeWrapper tw)
{
if(tw.IsUnloadable || tw.IsPrimitive)
if(tw == null || tw.IsUnloadable || tw.IsPrimitive)
return tw;
lock(types.SyncRoot)