26 references to AsKeyword
Microsoft.CodeAnalysis.CSharp (5)
Parser\LanguageParser.cs (2)
5651case SyntaxKind.AsKeyword: // e.g. `e is A<B> as bool` 11782case SyntaxKind.AsKeyword:
Syntax\SyntaxKindFacts.cs (3)
597case SyntaxKind.AsKeyword: 945return SyntaxKind.AsKeyword; 1585case SyntaxKind.AsKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
SpacingFormattingRule.cs (2)
340currentKind == SyntaxKind.AsKeyword || 344previousKind == SyntaxKind.AsKeyword ||
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
1908token.IsKind(SyntaxKind.AsKeyword))
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\AsKeywordRecommender.cs (1)
13: base(SyntaxKind.AsKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (13)
Parsing\ExpressionParsingTests.cs (1)
662TestBinary(SyntaxKind.AsKeyword);
Parsing\FunctionPointerTests.cs (1)
1893N(SyntaxKind.AsKeyword);
Parsing\LambdaAttributeParsingTests.cs (5)
1507N(SyntaxKind.AsKeyword); 2516N(SyntaxKind.AsKeyword); 2553N(SyntaxKind.AsKeyword); 2598N(SyntaxKind.AsKeyword); 2637N(SyntaxKind.AsKeyword);
Parsing\NullableParsingTests.cs (5)
504N(SyntaxKind.AsKeyword); 531N(SyntaxKind.AsKeyword); 573N(SyntaxKind.AsKeyword); 611N(SyntaxKind.AsKeyword); 650N(SyntaxKind.AsKeyword);
Parsing\PatternParsingTests.cs (1)
417N(SyntaxKind.AsKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
1908token.IsKind(SyntaxKind.AsKeyword))
Simplification\Simplifiers\MemberAccessExpressionSimplifier.cs (1)
75(CSharp.SyntaxFacts.IsKeywordKind(nextToken.Kind()) && nextToken.Kind() is not SyntaxKind.AsKeyword and not SyntaxKind.IsKeyword))
SpacingFormattingRule.cs (2)
340currentKind == SyntaxKind.AsKeyword || 344previousKind == SyntaxKind.AsKeyword ||