1 write to ControlFlowBuilder
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\Encoding\InstructionEncoder.cs (1)
40
ControlFlowBuilder
= controlFlowBuilder;
15 references to ControlFlowBuilder
ILAssembler (5)
EntityRegistry.cs (4)
362
methodDef.MethodBody.
ControlFlowBuilder
!.AddCatchRegion(catchRegion.TryStart, catchRegion.TryEnd, catchRegion.HandlerStart, catchRegion.HandlerEnd, catchRegion.CatchType.Handle);
365
methodDef.MethodBody.
ControlFlowBuilder
!.AddFinallyRegion(finallyRegion.TryStart, finallyRegion.TryEnd, finallyRegion.HandlerStart, finallyRegion.HandlerEnd);
368
methodDef.MethodBody.
ControlFlowBuilder
!.AddFaultRegion(faultRegion.TryStart, faultRegion.TryEnd, faultRegion.HandlerStart, faultRegion.HandlerEnd);
371
methodDef.MethodBody.
ControlFlowBuilder
!.AddFilterRegion(filterRegion.TryStart, filterRegion.TryEnd, filterRegion.HandlerStart, filterRegion.HandlerEnd, filterRegion.FilterStart);
InstructionEncoderExtensions.cs (1)
14
MarkLabel(encoder.
ControlFlowBuilder
!, ilOffset, label);
System.Reflection.Metadata (10)
System\Reflection\Metadata\Ecma335\Encoding\InstructionEncoder.cs (7)
53
ControlFlowBuilder
?.ValidateNotInSwitch();
81
ControlFlowBuilder
?.ValidateNotInSwitch();
385
/// <exception cref="InvalidOperationException"><see cref="
ControlFlowBuilder
"/> is null.</exception>
415
/// <exception cref="InvalidOperationException"><see cref="
ControlFlowBuilder
"/> is null.</exception>
472
/// <exception cref="InvalidOperationException"><see cref="
ControlFlowBuilder
"/> is null.</exception>
482
if (
ControlFlowBuilder
== null)
487
return
ControlFlowBuilder
;
System\Reflection\Metadata\Ecma335\Encoding\MethodBodyStreamEncoder.cs (1)
176
var flowBuilder = instructionEncoder.
ControlFlowBuilder
;
System\Reflection\Metadata\Ecma335\Encoding\SwitchInstructionEncoder.cs (2)
22
Debug.Assert(encoder.
ControlFlowBuilder
is not null);
36
_encoder.
ControlFlowBuilder
!.SwitchBranchAdded();