18 references to ByKeyword
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_QueryErrors.cs (1)
193clauseKind = SyntaxFacts.GetText(SyntaxKind.GroupKeyword) + " " + SyntaxFacts.GetText(SyntaxKind.ByKeyword);
Parser\LanguageParser.cs (2)
13528case SyntaxKind.ByKeyword: 13822this.EatContextualToken(SyntaxKind.ByKeyword, ErrorCode.ERR_ExpectedContextualKeywordBy),
Syntax\SyntaxKindFacts.cs (4)
1191case SyntaxKind.ByKeyword: 1251case SyntaxKind.ByKeyword: 1279return SyntaxKind.ByKeyword; 1719case SyntaxKind.ByKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
299case SyntaxKind.ByKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2590if (token.Kind() is SyntaxKind.GroupKeyword or SyntaxKind.ByKeyword &&
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\ByKeywordRecommender.cs (1)
16: base(SyntaxKind.ByKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (4)
257=> InternalSyntaxFactory.GroupClause(InternalSyntaxFactory.Token(SyntaxKind.GroupKeyword), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.ByKeyword), GenerateIdentifierName()); 1716Assert.Equal(SyntaxKind.ByKeyword, node.ByKeyword.Kind); 10473=> SyntaxFactory.GroupClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.ByKeyword), GenerateIdentifierName()); 11932Assert.Equal(SyntaxKind.ByKeyword, node.ByKeyword.Kind());
Parsing\ExpressionParsingTests.cs (1)
2755Assert.Equal(SyntaxKind.ByKeyword, gbs.ByKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
99case SyntaxKind.ByKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
299case SyntaxKind.ByKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2590if (token.Kind() is SyntaxKind.GroupKeyword or SyntaxKind.ByKeyword &&