25 references to LetKeyword
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_QueryErrors.cs (1)
175clauseKind = SyntaxFacts.GetText(SyntaxKind.LetKeyword);
Parser\LanguageParser.cs (4)
13481case SyntaxKind.LetKeyword: 13577case SyntaxKind.LetKeyword: 13664Debug.Assert(this.CurrentToken.ContextualKind == SyntaxKind.LetKeyword); 13666this.EatContextualToken(SyntaxKind.LetKeyword),
Syntax\SyntaxKindFacts.cs (4)
1190case SyntaxKind.LetKeyword: 1248case SyntaxKind.LetKeyword: 1277return SyntaxKind.LetKeyword; 1717case SyntaxKind.LetKeyword:
Syntax\SyntaxNormalizer.cs (1)
280(nextToken.IsKind(SyntaxKind.LetKeyword) && nextToken.Parent.IsKind(SyntaxKind.LetClause)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
50public static readonly SyntaxToken LetKeyword = Token(SyntaxKind.LetKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
374(currentToken.Kind() == SyntaxKind.LetKeyword && currentToken.Parent.IsKind(SyntaxKind.LetClause)) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
152case SyntaxKind.LetKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
285case SyntaxKind.LetKeyword:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\LetKeywordRecommender.cs (1)
14: base(SyntaxKind.LetKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (4)
236=> InternalSyntaxFactory.LetClause(InternalSyntaxFactory.Token(SyntaxKind.LetKeyword), InternalSyntaxFactory.Identifier("Identifier"), InternalSyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateIdentifierName()); 1627Assert.Equal(SyntaxKind.LetKeyword, node.LetKeyword.Kind); 10452=> SyntaxFactory.LetClause(SyntaxFactory.Token(SyntaxKind.LetKeyword), SyntaxFactory.Identifier("Identifier"), SyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateIdentifierName()); 11843Assert.Equal(SyntaxKind.LetKeyword, node.LetKeyword.Kind());
Parsing\ExpressionParsingTests.cs (1)
2517Assert.Equal(SyntaxKind.LetKeyword, ls.LetKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
95case SyntaxKind.LetKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
50public static readonly SyntaxToken LetKeyword = Token(SyntaxKind.LetKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (1)
374(currentToken.Kind() == SyntaxKind.LetKeyword && currentToken.Parent.IsKind(SyntaxKind.LetClause)) ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\QueryExpressionFormattingRule.cs (1)
152case SyntaxKind.LetKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
285case SyntaxKind.LetKeyword: