14 references to SourceLabelSymbol
Microsoft.CodeAnalysis.CSharp (14)
Binder\LocalScopeBinder.cs (1)
372var labelSymbol = new SourceLabelSymbol(containingMethod, labeledStatement.Identifier);
Binder\SwitchBinder.cs (11)
77private Dictionary<object, SourceLabelSymbol> _lazySwitchLabelsMap; 80private Dictionary<object, SourceLabelSymbol> LabelsByValue 93private static Dictionary<object, SourceLabelSymbol> BuildLabelsByValue(ImmutableArray<LabelSymbol> labels) 97var map = new Dictionary<object, SourceLabelSymbol>(labels.Length, new SwitchConstantValueHelper.SwitchLabelsComparer()); 98foreach (SourceLabelSymbol label in labels) 283protected SourceLabelSymbol FindMatchingSwitchCaseLabel(ConstantValue constantValue, CSharpSyntaxNode labelSyntax) 302private SourceLabelSymbol GetDefaultLabel() 310private SourceLabelSymbol FindMatchingSwitchLabel(object key) 317SourceLabelSymbol label; 459var node = ((SourceLabelSymbol)label).IdentifierNodeOrToken.AsNode(); 482SourceLabelSymbol matchedLabelSymbol;
Symbols\Source\SourceLabelSymbol.cs (2)
153var symbol = obj as SourceLabelSymbol;