2 references to IsPInvokeDangerous
ILCompiler.Compiler (2)
Compiler\Dataflow\HandleCallAction.cs (1)
200
if (ReflectionMethodBodyScanner.
IsPInvokeDangerous
(calledMethod.Method, out bool comDangerousMethod, out bool aotUnsafeDelegate))
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (1)
45
IsPInvokeDangerous
(method, out _, out _);