19 references to ByKeyword
Microsoft.CodeAnalysis.CSharp (11)
_generated\0\Syntax.xml.Main.Generated.cs (2)
3650if (byKeyword.Kind() != SyntaxKind.ByKeyword) throw new ArgumentException(nameof(byKeyword)); 3657=> SyntaxFactory.GroupClause(SyntaxFactory.Token(SyntaxKind.GroupKeyword), groupExpression, SyntaxFactory.Token(SyntaxKind.ByKeyword), byExpression);
_generated\1\Syntax.xml.Internal.Generated.cs (2)
30382if (byKeyword.Kind != SyntaxKind.ByKeyword) throw new ArgumentException(nameof(byKeyword)); 35809if (byKeyword.Kind != SyntaxKind.ByKeyword) throw new ArgumentException(nameof(byKeyword));
Binder\Binder_QueryErrors.cs (1)
193clauseKind = SyntaxFacts.GetText(SyntaxKind.GroupKeyword) + " " + SyntaxFacts.GetText(SyntaxKind.ByKeyword);
Parser\LanguageParser.cs (2)
14081case SyntaxKind.ByKeyword: 14374this.EatContextualToken(SyntaxKind.ByKeyword, ErrorCode.ERR_ExpectedContextualKeywordBy),
Syntax\SyntaxKindFacts.cs (4)
1262case SyntaxKind.ByKeyword: 1326case SyntaxKind.ByKeyword: 1354return SyntaxKind.ByKeyword; 1802case SyntaxKind.ByKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
291case SyntaxKind.ByKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2598if (token.Kind() is SyntaxKind.GroupKeyword or SyntaxKind.ByKeyword &&
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\ByKeywordRecommender.cs (1)
13internal sealed class ByKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.ByKeyword)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
80case SyntaxKind.ByKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
291case SyntaxKind.ByKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2598if (token.Kind() is SyntaxKind.GroupKeyword or SyntaxKind.ByKeyword &&
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
291case SyntaxKind.ByKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2598if (token.Kind() is SyntaxKind.GroupKeyword or SyntaxKind.ByKeyword &&