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