25 references to LetKeyword
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_QueryErrors.cs (1)
175
clauseKind = SyntaxFacts.GetText(SyntaxKind.
LetKeyword
);
Parser\LanguageParser.cs (4)
13481
case SyntaxKind.
LetKeyword
:
13577
case SyntaxKind.
LetKeyword
:
13664
Debug.Assert(this.CurrentToken.ContextualKind == SyntaxKind.
LetKeyword
);
13666
this.EatContextualToken(SyntaxKind.
LetKeyword
),
Syntax\SyntaxKindFacts.cs (4)
1190
case SyntaxKind.
LetKeyword
:
1248
case SyntaxKind.
LetKeyword
:
1277
return SyntaxKind.
LetKeyword
;
1717
case 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)
51
public 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)
152
case SyntaxKind.
LetKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
285
case 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());
1627
Assert.Equal(SyntaxKind.
LetKeyword
, node.LetKeyword.Kind);
10452
=> SyntaxFactory.LetClause(SyntaxFactory.Token(SyntaxKind.
LetKeyword
), SyntaxFactory.Identifier("Identifier"), SyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateIdentifierName());
11843
Assert.Equal(SyntaxKind.
LetKeyword
, node.LetKeyword.Kind());
Parsing\ExpressionParsingTests.cs (1)
2517
Assert.Equal(SyntaxKind.
LetKeyword
, ls.LetKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
95
case SyntaxKind.
LetKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
51
public 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)
152
case SyntaxKind.
LetKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
285
case SyntaxKind.
LetKeyword
: