1 write to _labelInfos
Microsoft.CodeAnalysis (1)
CodeGen\ILBuilder.cs (1)
81
_labelInfos
= new SmallDictionary<object, LabelInfo>(ReferenceEqualityComparer.Instance);
22 references to _labelInfos
Microsoft.CodeAnalysis (22)
CodeGen\BasicBlock.cs (6)
201
result = builder.
_labelInfos
[BranchLabel].bb;
234
var labelInfo = this.builder.
_labelInfos
[newLabel];
237
this.builder.
_labelInfos
[newLabel] = labelInfo.SetTargetOfConditionalBranches();
422
var labelInfos = builder.
_labelInfos
;
462
Debug.Assert(!builder.
_labelInfos
.Values.Any(li => li.bb == toRemove),
746
branchBlocksBuilder.Add(builder.
_labelInfos
[branchLabel].bb);
CodeGen\ILBuilder.cs (6)
509
var labels =
_labelInfos
.Keys;
518
var labelInfo =
_labelInfos
[label];
545
_labelInfos
[label] = labelInfo.WithNewTarget(targetsTarget);
563
var labels =
_labelInfos
.Keys;
572
var labelInfo =
_labelInfos
[label];
605
_labelInfos
[label] = labelInfo.WithNewTarget(targetsTarget);
CodeGen\ILBuilderEmit.cs (9)
133
if (
_labelInfos
.TryGetValue(label, out labelInfo))
149
_labelInfos
[label] = labelInfo.WithNewTarget(block);
167
_labelInfos
[label] = new LabelInfo(block, curStack, false);
186
if (!
_labelInfos
.TryGetValue(label, out labelInfo))
188
_labelInfos
.Add(label, new LabelInfo(_emitState.CurStack, isConditional));
199
Debug.Assert((code != ILOpCode.Nop) || (block ==
_labelInfos
[label].bb));
286
if (!
_labelInfos
.TryGetValue(label, out ld))
288
_labelInfos
.Add(label, new LabelInfo(curStack, true));
296
_labelInfos
[label] = ld.SetTargetOfConditionalBranches();
CodeGen\LocalScopeManager.cs (1)
732
Debug.Assert(builder._currentBlock == builder.
_labelInfos
[_endLabel].bb);