23 references to UncheckedKeyword
Microsoft.CodeAnalysis.CSharp (15)
Parser\DocumentationCommentParser.cs (1)
1124if (CurrentToken.Kind == SyntaxKind.UncheckedKeyword)
Parser\LanguageParser.cs (9)
3600else if (this.PeekToken(1).Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword) 3761if (CurrentToken.Kind == SyntaxKind.UncheckedKeyword) 7975case SyntaxKind.UncheckedKeyword: 8799case SyntaxKind.UncheckedKeyword: 9077Debug.Assert(this.CurrentToken.Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword); 10601case SyntaxKind.UncheckedKeyword: 10903case SyntaxKind.UncheckedKeyword: 11453case SyntaxKind.UncheckedKeyword: 12101Debug.Assert(checkedOrUnchecked.Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword);
Syntax\SyntaxKindFacts.cs (4)
551case SyntaxKind.UncheckedKeyword: 757case SyntaxKind.UncheckedKeyword: 1005return SyntaxKind.UncheckedKeyword; 1653case SyntaxKind.UncheckedKeyword:
Syntax\SyntaxNormalizer.cs (1)
977case SyntaxKind.UncheckedKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2659token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.UncheckedKeyword))
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\UncheckedKeywordRecommender.cs (1)
13: base(SyntaxKind.UncheckedKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\AwaitParsingTests.cs (2)
634N(SyntaxKind.UncheckedKeyword); 2110N(SyntaxKind.UncheckedKeyword);
Parsing\ExpressionParsingTests.cs (1)
867TestSingleParamFunctionalOperator(SyntaxKind.UncheckedKeyword);
Parsing\StatementAttributeParsingTests.cs (1)
1878N(SyntaxKind.UncheckedKeyword);
Parsing\StatementParsingTests.cs (1)
1446Assert.Equal(SyntaxKind.UncheckedKeyword, cs.Keyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2659token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.UncheckedKeyword))