1 instantiation of ExceptionHandler
Mono.Cecil (1)
Mono.Cecil.Cil\CodeReader.cs (1)
341
var handler = new
ExceptionHandler
(
29 references to ExceptionHandler
illink (16)
Linker.Dataflow\MethodBodyScanner.cs (1)
759
foreach (
ExceptionHandler
exceptionClause in methodIL.ExceptionHandlers)
Linker.Dataflow\ScannerExtensions.cs (1)
39
foreach (
ExceptionHandler
einfo in methodIL.ExceptionHandlers)
Linker.Steps\MarkStep.cs (1)
3876
foreach (
ExceptionHandler
eh in methodIL.ExceptionHandlers)
Linker.Steps\UnreachableBlocksOptimizer.cs (8)
655
Collection<
ExceptionHandler
> ExceptionHandlers => Body.ExceptionHandlers;
1183
BitArray GetReachableInstructionsMap(out List<
ExceptionHandler
>? unreachableHandlers)
1253
foreach (
var
handler in ExceptionHandlers)
1260
unreachableHandlers ??= new List<
ExceptionHandler
>();
1381
Collection<
ExceptionHandler
> ExceptionHandlers => body.ExceptionHandlers;
1384
readonly List<
ExceptionHandler
>? unreachableExceptionHandlers;
1396
public BodySweeper(MethodBody body, BitArray reachable, List<
ExceptionHandler
>? unreachableEH, LinkContext context)
1611
foreach (
var
eh in unreachableExceptionHandlers)
Linker\BannedApiExtensions.cs (1)
18
public static Collection<
ExceptionHandler
> ExceptionHandlers(this MethodBody body, LinkContext context)
Linker\LinkerILProcessor.cs (1)
84
foreach (
var
handler in _ilProcessor.Body.ExceptionHandlers)
Linker\MethodBodyScanner.cs (1)
113
foreach (
ExceptionHandler
eh in methodIL.ExceptionHandlers)
Linker\MethodIL.cs (1)
25
public Collection<
ExceptionHandler
> ExceptionHandlers => Body.ExceptionHandlers;
Linker\TypeReferenceWalker.cs (1)
192
foreach (
var
eh in body.ExceptionHandlers)
Mono.Cecil (13)
Mono.Cecil.Cil\CodeReader.cs (2)
341
var
handler = new ExceptionHandler (
356
void ReadExceptionHandlerSpecific (
ExceptionHandler
handler)
Mono.Cecil.Cil\CodeWriter.cs (8)
352
var
exception_handler = exception_handlers [i];
521
static bool RequiresFatSection (Collection<
ExceptionHandler
> handlers)
524
var
handler = handlers [i];
551
void WriteSmallSection (Collection<
ExceptionHandler
> handlers)
565
void WriteFatSection (Collection<
ExceptionHandler
> handlers)
580
void WriteExceptionHandlers (Collection<
ExceptionHandler
> handlers, Action<int> write_entry, Action<int> write_length)
583
var
handler = handlers [i];
597
void WriteExceptionHandlerSpecific (
ExceptionHandler
handler)
Mono.Cecil.Cil\MethodBody.cs (3)
29
internal Collection<
ExceptionHandler
> exceptions;
68
public Collection<
ExceptionHandler
> ExceptionHandlers {
71
Interlocked.CompareExchange (ref exceptions, new Collection<
ExceptionHandler
> (), null);