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