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