33 references to LabeledStatement
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Statements.cs (2)
106case SyntaxKind.LabeledStatement: 342case SyntaxKind.LabeledStatement:
Binder\LocalBinderFactory.cs (1)
1042case SyntaxKind.LabeledStatement:
Binder\LocalScopeBinder.cs (3)
179while (innerStatement.Kind() == SyntaxKind.LabeledStatement) 313while (innerStatement.Kind() == SyntaxKind.LabeledStatement) 364while (statement.Kind() == SyntaxKind.LabeledStatement)
Compilation\CSharpSemanticModel.cs (1)
5096case SyntaxKind.LabeledStatement:
Lowering\Instrumentation\Instrumenter.cs (1)
208Debug.Assert(original.Syntax.Kind() == SyntaxKind.LabeledStatement);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5208while (innerStatement.Kind() == SyntaxKind.LabeledStatement)
Syntax\LookupPosition.cs (2)
344case SyntaxKind.LabeledStatement: 407case SyntaxKind.LabeledStatement:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Analyzers\CSharp\Analyzers\RemoveUnreachableCode\RemoveUnreachableCodeHelpers.cs (1)
66if (currentStatement.IsKind(SyntaxKind.LabeledStatement))
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
222SyntaxKind.LabeledStatement;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
403SyntaxKind.LabeledStatement or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (1)
367SyntaxKind.LabeledStatement or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\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)
1148var label = (LabeledStatementSyntax)tree.FindNodeOrTokenByKind(SyntaxKind.LabeledStatement); 1161var label = (LabeledStatementSyntax)tree.FindNodeOrTokenByKind(SyntaxKind.LabeledStatement);
Microsoft.CodeAnalysis.CSharp.Features (6)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
272while (scope.IsKind(SyntaxKind.LabeledStatement))
EditAndContinue\BreakpointSpans.cs (1)
597case SyntaxKind.LabeledStatement:
EditAndContinue\SyntaxComparer.cs (2)
338case SyntaxKind.LabeledStatement: 1094case SyntaxKind.LabeledStatement:
src\Analyzers\CSharp\Analyzers\RemoveUnreachableCode\RemoveUnreachableCodeHelpers.cs (1)
66if (currentStatement.IsKind(SyntaxKind.LabeledStatement))
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
222SyntaxKind.LabeledStatement;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\NullableParsingTests.cs (1)
877N(SyntaxKind.LabeledStatement);
Parsing\StatementAttributeParsingTests.cs (2)
186N(SyntaxKind.LabeledStatement); 295N(SyntaxKind.LabeledStatement);
Parsing\StatementParsingTests.cs (2)
972Assert.Equal(SyntaxKind.LabeledStatement, statement.Kind()); 3576N(SyntaxKind.LabeledStatement);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Recommendations\CSharpRecommendationServiceRunner.cs (1)
305.Kind() is SyntaxKind.LabeledStatement or SyntaxKind.DefaultSwitchLabel);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
403SyntaxKind.LabeledStatement or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\FormattingRangeHelper.cs (1)
367SyntaxKind.LabeledStatement or
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
156return token.Parent is (kind: SyntaxKind.CaseSwitchLabel or SyntaxKind.DefaultSwitchLabel or SyntaxKind.CasePatternSwitchLabel or SyntaxKind.LabeledStatement);