Don't add resources in core assembly twice (happened if a .NET assembly explicitly referenced the core assembly).

This commit is contained in:
jfrijters 2007-10-18 13:57:05 +00:00
Родитель b4a7cb4d91
Коммит 2d2be52f29
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -1566,7 +1566,10 @@ namespace IKVM.Internal
{ {
list = new ArrayList(); list = new ArrayList();
} }
list.Add(asm); if(!list.Contains(asm))
{
list.Add(asm);
}
} }
} }
if(list == null) if(list == null)