24 references to LetKeyword
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_QueryErrors.cs (1)
175clauseKind = SyntaxFacts.GetText(SyntaxKind.LetKeyword);
Parser\LanguageParser.cs (4)
12635case SyntaxKind.LetKeyword: 12730case SyntaxKind.LetKeyword: 12817Debug.Assert(this.CurrentToken.ContextualKind == SyntaxKind.LetKeyword); 12819this.EatContextualToken(SyntaxKind.LetKeyword),
Syntax\SyntaxKindFacts.cs (4)
1157case SyntaxKind.LetKeyword: 1214case SyntaxKind.LetKeyword: 1243return SyntaxKind.LetKeyword; 1681case SyntaxKind.LetKeyword:
Syntax\SyntaxNormalizer.cs (1)
280(nextToken.IsKind(SyntaxKind.LetKeyword) && nextToken.Parent.IsKind(SyntaxKind.LetClause)) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpSyntaxFacts.cs (1)
289case SyntaxKind.LetKeyword:
ElasticTriviaFormattingRule.cs (1)
361(currentToken.Kind() == SyntaxKind.LetKeyword && currentToken.Parent.IsKind(SyntaxKind.LetClause)) ||
QueryExpressionFormattingRule.cs (1)
151case SyntaxKind.LetKeyword:
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\LetKeywordRecommender.cs (1)
14: base(SyntaxKind.LetKeyword)
ConvertLinq\ConvertForEachToLinqQuery\AbstractConverter.cs (1)
76SyntaxFactory.Token(SyntaxKind.LetKeyword),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (4)
224=> InternalSyntaxFactory.LetClause(InternalSyntaxFactory.Token(SyntaxKind.LetKeyword), InternalSyntaxFactory.Identifier("Identifier"), InternalSyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateIdentifierName()); 1566Assert.Equal(SyntaxKind.LetKeyword, node.LetKeyword.Kind); 10200=> SyntaxFactory.LetClause(SyntaxFactory.Token(SyntaxKind.LetKeyword), SyntaxFactory.Identifier("Identifier"), SyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateIdentifierName()); 11542Assert.Equal(SyntaxKind.LetKeyword, node.LetKeyword.Kind());
Parsing\ExpressionParsingTests.cs (1)
2517Assert.Equal(SyntaxKind.LetKeyword, ls.LetKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CSharpSyntaxFacts.cs (1)
289case SyntaxKind.LetKeyword:
ElasticTriviaFormattingRule.cs (1)
361(currentToken.Kind() == SyntaxKind.LetKeyword && currentToken.Parent.IsKind(SyntaxKind.LetClause)) ||
QueryExpressionFormattingRule.cs (1)
151case SyntaxKind.LetKeyword:
Simplification\Reducers\CSharpEscapingReducer.cs (1)
96case SyntaxKind.LetKeyword: