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