58 references to Label
Microsoft.CodeAnalysis (1)
Symbols\SymbolKindExtensions.cs (1)
37case SymbolKind.Label:
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (1)
131case SymbolKind.Label:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
121SymbolKind.Label => LabelsAreEquivalent((ILabelSymbol)x, (ILabelSymbol)y),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
63SymbolKind.Label => CombineHashCodes((ILabelSymbol)x, currentHash),
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Lookup.cs (1)
1491else if ((options & LookupOptions.LabelsOnly) != 0 && unwrappedSymbol.Kind != SymbolKind.Label)
Binder\Semantics\AccessCheck.cs (1)
190case SymbolKind.Label:
Compiler\ClsComplianceChecker.cs (1)
1137Debug.Assert(symbol.Kind != SymbolKind.Label);
Symbols\LabelSymbol.cs (1)
168return SymbolKind.Label;
Symbols\Symbol.cs (1)
636case SymbolKind.Label:
Symbols\SymbolDistinguisher.cs (1)
78case SymbolKind.Label:
Symbols\SymbolKindExtensions.cs (1)
48case SymbolKind.Label:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\CompletionUtilities.cs (1)
168if (symbol.Kind == SymbolKind.Label &&
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\TopLevelStatementsTests.cs (3)
2429Assert.Equal(SymbolKind.Label, declSymbol.Kind); 4899Assert.Equal(SymbolKind.Label, label.Kind); 4984Assert.Equal(SymbolKind.Label, label.Kind);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Compilation\SemanticModelAPITests.cs (2)
1889Assert.Equal(SymbolKind.Label, label.Kind); 2650Assert.Equal(SymbolKind.Label, label.Kind);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
3713Assert.Equal(SymbolKind.Label, symbol.Kind);
DocumentationComments\DocumentationCommentIDTests.cs (1)
146Assert.Equal(SymbolKind.Label, symbol.Kind);
Symbols\Source\DeclaringSyntaxNodeTests.cs (6)
639CheckDeclaringSyntax<LabeledStatementSyntax>(comp, tree, "lab1", SymbolKind.Label); 640CheckDeclaringSyntax<LabeledStatementSyntax>(comp, tree, "lab2", SymbolKind.Label); 641CheckDeclaringSyntax<LabeledStatementSyntax>(comp, tree, "lab3", SymbolKind.Label); 642CheckDeclaringSyntax<SwitchLabelSyntax>(comp, tree, "case 4:", SymbolKind.Label); 643CheckDeclaringSyntax<SwitchLabelSyntax>(comp, tree, "case 3:", SymbolKind.Label); 644CheckDeclaringSyntax<SwitchLabelSyntax>(comp, tree, "default", SymbolKind.Label);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Rename\CSharpRenameRewriterLanguageService.cs (1)
831else if (renamedSymbol.Kind == SymbolKind.Label)
Microsoft.CodeAnalysis.Features (2)
LanguageServiceIndexFormat\SymbolMoniker.cs (1)
25SymbolKind.Label or
Shared\Extensions\ISymbolExtensions_2.cs (1)
48case SymbolKind.Label:
Microsoft.CodeAnalysis.VisualBasic (5)
Binding\Binder_Lookup.vb (1)
130If options = LookupOptions.LabelsOnly AndAlso sym.Kind = SymbolKind.Label Then
Compilation\ClsComplianceChecker.vb (1)
676Debug.Assert(symbol.Kind <> SymbolKind.Label)
Semantics\AccessCheck.vb (1)
117SymbolKind.Label, SymbolKind.Namespace, SymbolKind.Assembly, SymbolKind.NetModule
Symbols\LabelSymbol.vb (1)
92Return SymbolKind.Label
Symbols\Symbol.vb (1)
595Case SymbolKind.Label,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (19)
Compilation\SemanticModelAPITests.vb (2)
948Assert.Equal(SymbolKind.Label, label.Kind) 1674Assert.Equal(SymbolKind.Label, label.Kind)
DeclaringSyntaxNodeTests.vb (3)
667CheckDeclaringSyntax(Of LabelStatementSyntax)(comp, tree, "lab1", SymbolKind.Label) 668CheckDeclaringSyntax(Of LabelStatementSyntax)(comp, tree, "lab2", SymbolKind.Label) 669CheckDeclaringSyntax(Of LabelStatementSyntax)(comp, tree, "lab3", SymbolKind.Label)
Semantics\GetSemanticInfoTests.vb (6)
978Assert.Equal(SymbolKind.Label, symbol.Kind) 986Assert.Equal(SymbolKind.Label, symbol.Kind) 993Assert.Equal(SymbolKind.Label, labelSymbol.Kind) 1023Assert.Equal(SymbolKind.Label, declaredSymbol.Kind) 1050Assert.Equal(SymbolKind.Label, declaredSymbol.Kind) 1080Assert.Equal(SymbolKind.Label, semanticSummary.Symbol.Kind)
Semantics\GotoTests.vb (8)
209Assert.Equal(SymbolKind.Label, semanticSummary.Symbol.Kind) 240Assert.Equal(SymbolKind.Label, semanticSummary0.Symbol.Kind) 249Assert.Equal(SymbolKind.Label, semanticSummary1.Symbol.Kind) 283Assert.Equal(SymbolKind.Label, semanticSummary.Symbol.Kind) 317Assert.Equal(SymbolKind.Label, semanticSummary.Symbol.Kind) 356Assert.Equal(SymbolKind.Label, semanticSummary.Symbol.Kind) 392Assert.Equal(SymbolKind.Label, semanticSummary.Symbol.Kind) 426Assert.Equal(SymbolKind.Label, semanticSummary.Symbol.Kind)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Rename\VisualBasicRenameRewriterLanguageService.vb (1)
753ElseIf renamedSymbol.Kind = SymbolKind.Label Then
Microsoft.CodeAnalysis.Workspaces (4)
Rename\RenameUtilities.cs (1)
77SymbolKind.Label or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (1)
131case SymbolKind.Label:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (1)
121SymbolKind.Label => LabelsAreEquivalent((ILabelSymbol)x, (ILabelSymbol)y),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
63SymbolKind.Label => CombineHashCodes((ILabelSymbol)x, currentHash),
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
GlyphExtensionsTests.cs (1)
94TestGlyph(StandardGlyphGroup.GlyphGroupIntrinsic, SymbolKind.Label);