23 references to DefineLabel
ILAssembler (21)
GrammarVisitor.cs (21)
2717
LabelHandle start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
2724
var start = _currentMethod!.Labels.TryGetValue(VisitId(id).Value, out LabelHandle startLabel) ? startLabel : _currentMethod.Labels[VisitId(id).Value] = _currentMethod.Definition.MethodBody.
DefineLabel
();
2729
var start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
2776
LabelHandle start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
2779
LabelHandle end = _currentMethod.Definition.MethodBody.
DefineLabel
();
2786
var start = _currentMethod!.Labels.TryGetValue(VisitId(ids[0]).Value, out LabelHandle startLabel) ? startLabel : _currentMethod.Labels[VisitId(ids[0]).Value] = _currentMethod.Definition.MethodBody.
DefineLabel
();
2787
var end = _currentMethod!.Labels.TryGetValue(VisitId(ids[1]).Value, out LabelHandle endLabel) ? endLabel : _currentMethod.Labels[VisitId(ids[1]).Value] = _currentMethod.Definition.MethodBody.
DefineLabel
();
2793
var start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
2794
var end = _currentMethod.Definition.MethodBody.
DefineLabel
();
2951
handle = _currentMethod.Definition.MethodBody.
DefineLabel
();
2964
LabelHandle label = _currentMethod!.Definition.MethodBody.
DefineLabel
();
3147
handle = _currentMethod.Definition.MethodBody.
DefineLabel
();
3160
LabelHandle labelHandle = _currentMethod!.Definition.MethodBody.
DefineLabel
();
3423
label = _currentMethod.Definition.MethodBody.
DefineLabel
();
3664
label = currentMethod.Definition.MethodBody.
DefineLabel
();
4974
LabelHandle start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
4977
LabelHandle end = _currentMethod.Definition.MethodBody.
DefineLabel
();
4984
var start = _currentMethod!.Labels.TryGetValue(VisitId(ids[0]).Value, out LabelHandle startLabel) ? startLabel : _currentMethod.Labels[VisitId(ids[0]).Value] = _currentMethod.Definition.MethodBody.
DefineLabel
();
4985
var end = _currentMethod!.Labels.TryGetValue(VisitId(ids[1]).Value, out LabelHandle endLabel) ? endLabel : _currentMethod.Labels[VisitId(ids[1]).Value] = _currentMethod.Definition.MethodBody.
DefineLabel
();
4991
var start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
4992
var end = _currentMethod.Definition.MethodBody.
DefineLabel
();
System.Reflection.Emit (1)
System\Reflection\Emit\ILGeneratorImpl.cs (1)
255
LabelHandle metadataLabel = _il.
DefineLabel
();
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\Encoding\InstructionEncoder.cs (1)
33
/// such as <see cref="Branch(ILOpCode, LabelHandle)"/>, <see cref="
DefineLabel
"/>, <see cref="MarkLabel(LabelHandle)"/> etc.