23 references to DefineLabel
ILAssembler (21)
GrammarVisitor.cs (21)
3069
LabelHandle start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
3076
var start = _currentMethod!.Labels.TryGetValue(VisitId(id).Value, out LabelHandle startLabel) ? startLabel : _currentMethod.Labels[VisitId(id).Value] = _currentMethod.Definition.MethodBody.
DefineLabel
();
3081
var start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
3135
LabelHandle start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
3138
LabelHandle end = _currentMethod.Definition.MethodBody.
DefineLabel
();
3145
var start = _currentMethod!.Labels.TryGetValue(VisitId(ids[0]).Value, out LabelHandle startLabel) ? startLabel : _currentMethod.Labels[VisitId(ids[0]).Value] = _currentMethod.Definition.MethodBody.
DefineLabel
();
3146
var end = _currentMethod!.Labels.TryGetValue(VisitId(ids[1]).Value, out LabelHandle endLabel) ? endLabel : _currentMethod.Labels[VisitId(ids[1]).Value] = _currentMethod.Definition.MethodBody.
DefineLabel
();
3152
var start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
3153
var end = _currentMethod.Definition.MethodBody.
DefineLabel
();
3325
handle = _currentMethod.Definition.MethodBody.
DefineLabel
();
3338
LabelHandle label = _currentMethod!.Definition.MethodBody.
DefineLabel
();
3531
handle = _currentMethod.Definition.MethodBody.
DefineLabel
();
3544
LabelHandle labelHandle = _currentMethod!.Definition.MethodBody.
DefineLabel
();
3866
label = _currentMethod.Definition.MethodBody.
DefineLabel
();
4121
label = currentMethod.Definition.MethodBody.
DefineLabel
();
5566
LabelHandle start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
5569
LabelHandle end = _currentMethod.Definition.MethodBody.
DefineLabel
();
5576
var start = _currentMethod!.Labels.TryGetValue(VisitId(ids[0]).Value, out LabelHandle startLabel) ? startLabel : _currentMethod.Labels[VisitId(ids[0]).Value] = _currentMethod.Definition.MethodBody.
DefineLabel
();
5577
var end = _currentMethod!.Labels.TryGetValue(VisitId(ids[1]).Value, out LabelHandle endLabel) ? endLabel : _currentMethod.Labels[VisitId(ids[1]).Value] = _currentMethod.Definition.MethodBody.
DefineLabel
();
5583
var start = _currentMethod!.Definition.MethodBody.
DefineLabel
();
5584
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.