1 instantiation of LabelHandle
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\Encoding\ControlFlowBuilder.cs (1)
114return new LabelHandle(_labels.Count);
55 references to LabelHandle
System.Reflection.Emit (4)
System\Reflection\Emit\ILGeneratorImpl.cs (4)
131private LabelHandle GetMetaLabel(Label label) => _labelTable[label]._metaLabel; 255LabelHandle metadataLabel = _il.DefineLabel(); 905internal LabelInfo(LabelHandle metaLabel) 913internal LabelHandle _metaLabel;
System.Reflection.Metadata (51)
System\Reflection\Metadata\Ecma335\Encoding\ControlFlowBuilder.cs (36)
16internal readonly LabelHandle Label; 32internal BranchInfo(int operandOffset, LabelHandle label, int instructionEndDisplacement, int ilOffset, ILOpCode opCode) 67public readonly LabelHandle TryStart, TryEnd, HandlerStart, HandlerEnd, FilterStart; 72LabelHandle tryStart, 73LabelHandle tryEnd, 74LabelHandle handlerStart, 75LabelHandle handlerEnd, 76LabelHandle filterStart, 110internal LabelHandle AddLabel() 117internal void AddBranch(int operandOffset, LabelHandle label, int instructionEndDisplacement, int ilOffset, ILOpCode opCode) 139internal void MarkLabel(int ilOffset, LabelHandle label) 147private int GetLabelOffsetChecked(LabelHandle label) 158private void ValidateLabel(LabelHandle label, string parameterName) 180public void AddFinallyRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) => 192public void AddFaultRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd) => 206public void AddCatchRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, EntityHandle catchType) 226public void AddFilterRegion(LabelHandle tryStart, LabelHandle tryEnd, LabelHandle handlerStart, LabelHandle handlerEnd, LabelHandle filterStart) 234LabelHandle tryStart, 235LabelHandle tryEnd, 236LabelHandle handlerStart, 237LabelHandle handlerEnd, 238LabelHandle filterStart = default(LabelHandle),
System\Reflection\Metadata\Ecma335\Encoding\InstructionEncoder.cs (7)
33/// such as <see cref="Branch(ILOpCode, LabelHandle)"/>, <see cref="DefineLabel"/>, <see cref="MarkLabel(LabelHandle)"/> etc. 386public LabelHandle DefineLabel() 391internal void LabelOperand(ILOpCode code, LabelHandle label, int instructionEndDisplacement, int ilOffset) 417public void Branch(ILOpCode code, LabelHandle label) 436/// the method <see cref="SwitchInstructionEncoder.Branch(LabelHandle)"/> 475public void MarkLabel(LabelHandle label)
System\Reflection\Metadata\Ecma335\Encoding\LabelHandle.cs (7)
9public readonly struct LabelHandle : IEquatable<LabelHandle> 24public bool Equals(LabelHandle other) => Id == other.Id; 25public override bool Equals([NotNullWhen(true)] object? obj) => obj is LabelHandle labelHandle && Equals(labelHandle); 28public static bool operator ==(LabelHandle left, LabelHandle right) => left.Equals(right); 29public static bool operator !=(LabelHandle left, LabelHandle right) => !left.Equals(right);
System\Reflection\Metadata\Ecma335\Encoding\SwitchInstructionEncoder.cs (1)
34public void Branch(LabelHandle label)