35 references to LabeledStatement
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Statements.cs (2)
105case SyntaxKind.LabeledStatement: 339case SyntaxKind.LabeledStatement:
Binder\LocalBinderFactory.cs (1)
946case SyntaxKind.LabeledStatement:
Binder\LocalScopeBinder.cs (3)
176while (innerStatement.Kind() == SyntaxKind.LabeledStatement) 267while (innerStatement.Kind() == SyntaxKind.LabeledStatement) 318while (statement.Kind() == SyntaxKind.LabeledStatement)
Compilation\CSharpSemanticModel.cs (1)
5071case SyntaxKind.LabeledStatement:
Lowering\Instrumentation\Instrumenter.cs (1)
207Debug.Assert(original.Syntax.Kind() == SyntaxKind.LabeledStatement);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4925while (innerStatement.Kind() == SyntaxKind.LabeledStatement)
Syntax\LookupPosition.cs (2)
344case SyntaxKind.LabeledStatement: 409case SyntaxKind.LabeledStatement:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
FormattingRangeHelper.cs (1)
368SyntaxKind.LabeledStatement or
RemoveUnreachableCodeHelpers.cs (1)
66if (currentStatement.IsKind(SyntaxKind.LabeledStatement))
TokenBasedFormattingRule.cs (1)
397SyntaxKind.LabeledStatement or
UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
202SyntaxKind.LabeledStatement;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
156return token.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel or SyntaxKind.LabeledStatement);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\GotoTest.cs (2)
1039var label = (LabeledStatementSyntax)tree.FindNodeOrTokenByKind(SyntaxKind.LabeledStatement); 1052var label = (LabeledStatementSyntax)tree.FindNodeOrTokenByKind(SyntaxKind.LabeledStatement);
Microsoft.CodeAnalysis.CSharp.Features (7)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
278while (scope.IsKind(SyntaxKind.LabeledStatement))
EditAndContinue\BreakpointSpans.cs (1)
416case SyntaxKind.LabeledStatement:
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1796case SyntaxKind.LabeledStatement:
EditAndContinue\SyntaxComparer.cs (2)
337case SyntaxKind.LabeledStatement: 1085case SyntaxKind.LabeledStatement:
RemoveUnreachableCodeHelpers.cs (1)
66if (currentStatement.IsKind(SyntaxKind.LabeledStatement))
UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
202SyntaxKind.LabeledStatement;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\NullableParsingTests.cs (1)
875N(SyntaxKind.LabeledStatement);
Parsing\StatementAttributeParsingTests.cs (2)
185N(SyntaxKind.LabeledStatement); 294N(SyntaxKind.LabeledStatement);
Parsing\StatementParsingTests.cs (2)
972Assert.Equal(SyntaxKind.LabeledStatement, statement.Kind()); 3575N(SyntaxKind.LabeledStatement);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Formatting\CSharpSyntaxFormattingService.cs (1)
75if (token.IsKind(SyntaxKind.ColonToken) && !(token.Parent.IsKind(SyntaxKind.LabeledStatement) || token.Parent is SwitchLabelSyntax))
FormattingRangeHelper.cs (1)
368SyntaxKind.LabeledStatement or
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
156return token.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel or SyntaxKind.LabeledStatement);
Recommendations\CSharpRecommendationServiceRunner.cs (1)
241.Kind() is SyntaxKind.LabeledStatement or SyntaxKind.DefaultSwitchLabel);
TokenBasedFormattingRule.cs (1)
397SyntaxKind.LabeledStatement or