зеркало из https://github.com/mono/ikvm-fork.git
Added critical failure for, what should be, an impossible code path.
This commit is contained in:
Родитель
ae4aaf150e
Коммит
b5b83fa2f2
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче