1 write to _labelInfos
Microsoft.CodeAnalysis (1)
CodeGen\ILBuilder.cs (1)
83_labelInfos = new SmallDictionary<object, LabelInfo>(ReferenceEqualityComparer.Instance);
22 references to _labelInfos
Microsoft.CodeAnalysis (22)
CodeGen\BasicBlock.cs (6)
202result = builder._labelInfos[BranchLabel].bb; 235var labelInfo = this.builder._labelInfos[newLabel]; 238this.builder._labelInfos[newLabel] = labelInfo.SetTargetOfConditionalBranches(); 423var labelInfos = builder._labelInfos; 463Debug.Assert(!builder._labelInfos.Values.Any(li => li.bb == toRemove), 747branchBlocksBuilder.Add(builder._labelInfos[branchLabel].bb);
CodeGen\ILBuilder.cs (6)
498var labels = _labelInfos.Keys; 507var labelInfo = _labelInfos[label]; 534_labelInfos[label] = labelInfo.WithNewTarget(targetsTarget); 552var labels = _labelInfos.Keys; 561var labelInfo = _labelInfos[label]; 594_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)
730Debug.Assert(builder._currentBlock == builder._labelInfos[_endLabel].bb);