23 references to UncheckedKeyword
Microsoft.CodeAnalysis.CSharp (15)
Parser\DocumentationCommentParser.cs (1)
1124if (CurrentToken.Kind == SyntaxKind.UncheckedKeyword)
Parser\LanguageParser.cs (9)
3618else if (this.PeekToken(1).Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword) 3779if (CurrentToken.Kind == SyntaxKind.UncheckedKeyword) 7993case SyntaxKind.UncheckedKeyword: 8817case SyntaxKind.UncheckedKeyword: 9095Debug.Assert(this.CurrentToken.Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword); 10625case SyntaxKind.UncheckedKeyword: 10927case SyntaxKind.UncheckedKeyword: 11477case SyntaxKind.UncheckedKeyword: 12125Debug.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))