23 references to UncheckedKeyword
Microsoft.CodeAnalysis.CSharp (15)
Parser\DocumentationCommentParser.cs (1)
1124if (CurrentToken.Kind == SyntaxKind.UncheckedKeyword)
Parser\LanguageParser.cs (9)
3599else if (this.PeekToken(1).Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword) 3760if (CurrentToken.Kind == SyntaxKind.UncheckedKeyword) 7941case SyntaxKind.UncheckedKeyword: 8765case SyntaxKind.UncheckedKeyword: 9043Debug.Assert(this.CurrentToken.Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword); 10560case SyntaxKind.UncheckedKeyword: 10862case SyntaxKind.UncheckedKeyword: 11412case SyntaxKind.UncheckedKeyword: 12060Debug.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))