Added critical failure for, what should be, an impossible code path.

This commit is contained in:
jfrijters 2009-01-05 06:30:13 +00:00
Родитель ae4aaf150e
Коммит b5b83fa2f2
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -318,6 +318,10 @@ namespace IKVM.Internal
ilgen.Emit(OpCodes.Ldarg, (short)arg);
return true;
}
else
{
JVM.CriticalFailure("CallerID.getCallerID() requires a HasCallerID annotation", null);
}
return false;
}
}