2 instantiations of ExceptionHandler
System.Private.CoreLib (2)
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (2)
210
m_exceptions[counter++] = new
ExceptionHandler
(start, end, filterAddrs[j], catchAddrs[j], catchEndAddrs[j], type[j], tkExceptionClass);
214
m_exceptions[counter++] = new
ExceptionHandler
(start, excp[i].GetFinallyEndAddress(), filterAddrs[j], catchAddrs[j], catchEndAddrs[j], type[j], tkExceptionClass);
18 references to ExceptionHandler
System.Private.CoreLib (18)
LibraryImports.g.cs (5)
937
private static partial void SetMethodIL(global::System.Runtime.CompilerServices.QCallModule module, int tk, bool isInitLocals, byte[] body, int bodyLength, byte[] LocalSig, int sigLength, int maxStackSize, global::System.Reflection.Emit.
ExceptionHandler
[] exceptions, int numExceptions, int[] tokenFixups, int numTokenFixups)
944
fixed (void* __exceptions_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::System.Reflection.Emit.
ExceptionHandler
, global::System.Reflection.Emit.
ExceptionHandler
>.ManagedToUnmanagedIn.GetPinnableReference(exceptions))
948
__PInvoke(module, tk, __isInitLocals_native, (byte*)__body_native, bodyLength, (byte*)__LocalSig_native, sigLength, maxStackSize, (global::System.Reflection.Emit.
ExceptionHandler
*)__exceptions_native, numExceptions, (int*)__tokenFixups_native, numTokenFixups);
953
static extern unsafe void __PInvoke(global::System.Runtime.CompilerServices.QCallModule __module_native, int __tk_native, int __isInitLocals_native, byte* __body_native, int __bodyLength_native, byte* __LocalSig_native, int __sigLength_native, int __maxStackSize_native, global::System.Reflection.Emit.
ExceptionHandler
* __exceptions_native, int __numExceptions_native, int* __tokenFixups_native, int __numTokenFixups_native);
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (11)
31
private
ExceptionHandler
[]? m_exceptions; // Exception handlers or null if there are none.
184
m_exceptions = new
ExceptionHandler
[numExceptions];
321
internal
ExceptionHandler
[]? GetExceptionHandlers()
821
internal readonly struct ExceptionHandler : IEquatable<
ExceptionHandler
>
872
return obj is
ExceptionHandler
&& Equals((
ExceptionHandler
)obj);
875
public bool Equals(
ExceptionHandler
other)
887
public static bool operator ==(
ExceptionHandler
left,
ExceptionHandler
right) => left.Equals(right);
889
public static bool operator !=(
ExceptionHandler
left,
ExceptionHandler
right) => !left.Equals(right);
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (2)
84
ExceptionHandler
[]? exceptions, int numExceptions,
1617
ExceptionHandler
[]? exceptions = meth.GetExceptionHandlers();