29 references to LetKeyword
Microsoft.CodeAnalysis.CSharp (15)
_generated\0\Syntax.xml.Main.Generated.cs (3)
3549if (letKeyword.Kind() != SyntaxKind.LetKeyword) throw new ArgumentException(nameof(letKeyword)); 3558=> SyntaxFactory.LetClause(SyntaxFactory.Token(SyntaxKind.LetKeyword), identifier, SyntaxFactory.Token(SyntaxKind.EqualsToken), expression); 3562=> SyntaxFactory.LetClause(SyntaxFactory.Token(SyntaxKind.LetKeyword), SyntaxFactory.Identifier(identifier), SyntaxFactory.Token(SyntaxKind.EqualsToken), expression);
_generated\1\Syntax.xml.Internal.Generated.cs (2)
30379if (letKeyword.Kind != SyntaxKind.LetKeyword) throw new ArgumentException(nameof(letKeyword)); 35801if (letKeyword.Kind != SyntaxKind.LetKeyword) throw new ArgumentException(nameof(letKeyword));
Binder\Binder_QueryErrors.cs (1)
175clauseKind = SyntaxFacts.GetText(SyntaxKind.LetKeyword);
Parser\LanguageParser.cs (4)
14135case SyntaxKind.LetKeyword: 14227case SyntaxKind.LetKeyword: 14314Debug.Assert(this.CurrentToken.ContextualKind == SyntaxKind.LetKeyword); 14316this.EatContextualToken(SyntaxKind.LetKeyword),
Syntax\SyntaxKindFacts.cs (4)
1263case SyntaxKind.LetKeyword: 1325case SyntaxKind.LetKeyword: 1354return SyntaxKind.LetKeyword; 1802case SyntaxKind.LetKeyword:
Syntax\SyntaxNormalizer.cs (1)
296(nextToken.IsKind(SyntaxKind.LetKeyword) && nextToken.Parent.IsKind(SyntaxKind.LetClause)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
62public static readonly SyntaxToken LetKeyword = Token(SyntaxKind.LetKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
374(currentToken.Kind() == SyntaxKind.LetKeyword && currentToken.Parent.IsKind(SyntaxKind.LetClause)) ||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
171case SyntaxKind.LetKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
284case SyntaxKind.LetKeyword:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\LetKeywordRecommender.cs (1)
11internal sealed class LetKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.LetKeyword)
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
76case SyntaxKind.LetKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
62public static readonly SyntaxToken LetKeyword = Token(SyntaxKind.LetKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
374(currentToken.Kind() == SyntaxKind.LetKeyword && currentToken.Parent.IsKind(SyntaxKind.LetClause)) ||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
171case SyntaxKind.LetKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
284case SyntaxKind.LetKeyword:
Roslyn.Diagnostics.CSharp.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
62public static readonly SyntaxToken LetKeyword = Token(SyntaxKind.LetKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
374(currentToken.Kind() == SyntaxKind.LetKeyword && currentToken.Parent.IsKind(SyntaxKind.LetClause)) ||
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
171case SyntaxKind.LetKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
284case SyntaxKind.LetKeyword: