17 references to OnKeyword
Microsoft.CodeAnalysis.CSharp (6)
Parser\LanguageParser.cs (2)
13459case SyntaxKind.OnKeyword: 13653onKeyword: this.EatContextualToken(SyntaxKind.OnKeyword, ErrorCode.ERR_ExpectedContextualKeywordOn),
Syntax\SyntaxKindFacts.cs (4)
1200case SyntaxKind.OnKeyword: 1249case SyntaxKind.OnKeyword: 1297return SyntaxKind.OnKeyword; 1737case SyntaxKind.OnKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
288case SyntaxKind.OnKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2560if (token.Kind() is SyntaxKind.OnKeyword or SyntaxKind.EqualsKeyword &&
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\OnKeywordRecommender.cs (1)
15: base(SyntaxKind.OnKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (4)
239=> InternalSyntaxFactory.JoinClause(InternalSyntaxFactory.Token(SyntaxKind.JoinKeyword), null, InternalSyntaxFactory.Identifier("Identifier"), InternalSyntaxFactory.Token(SyntaxKind.InKeyword), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.OnKeyword), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.EqualsKeyword), GenerateIdentifierName(), null); 1645Assert.Equal(SyntaxKind.OnKeyword, node.OnKeyword.Kind); 10455=> SyntaxFactory.JoinClause(SyntaxFactory.Token(SyntaxKind.JoinKeyword), default(TypeSyntax), SyntaxFactory.Identifier("Identifier"), SyntaxFactory.Token(SyntaxKind.InKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.OnKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.EqualsKeyword), GenerateIdentifierName(), default(JoinIntoClauseSyntax)); 11861Assert.Equal(SyntaxKind.OnKeyword, node.OnKeyword.Kind());
Parsing\ExpressionParsingTests.cs (1)
2853Assert.Equal(SyntaxKind.OnKeyword, js.OnKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
97case SyntaxKind.OnKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
288case SyntaxKind.OnKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2560if (token.Kind() is SyntaxKind.OnKeyword or SyntaxKind.EqualsKeyword &&