11 references to LetKeyword
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Main.Generated.cs (1)
1729
=> node.Update(VisitToken(node.
LetKeyword
), VisitToken(node.Identifier), VisitToken(node.EqualsToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"));
Syntax.xml.Syntax.Generated.cs (4)
4510
if (letKeyword != this.
LetKeyword
|| identifier != this.Identifier || equalsToken != this.EqualsToken || expression != this.Expression)
4521
public LetClauseSyntax WithIdentifier(SyntaxToken identifier) => Update(this.
LetKeyword
, identifier, this.EqualsToken, this.Expression);
4522
public LetClauseSyntax WithEqualsToken(SyntaxToken equalsToken) => Update(this.
LetKeyword
, this.Identifier, equalsToken, this.Expression);
4523
public LetClauseSyntax WithExpression(ExpressionSyntax expression) => Update(this.
LetKeyword
, this.Identifier, this.EqualsToken, expression);
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1892
return ((LetClauseSyntax)node).
LetKeyword
.Span;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (2)
11986
Assert.Equal(SyntaxKind.LetKeyword, node.
LetKeyword
.Kind());
11990
var newNode = node.WithLetKeyword(node.
LetKeyword
).WithIdentifier(node.Identifier).WithEqualsToken(node.EqualsToken).WithExpression(node.Expression);
Parsing\ExpressionParsingTests.cs (3)
2516
Assert.NotEqual(default, ls.
LetKeyword
);
2517
Assert.Equal(SyntaxKind.LetKeyword, ls.
LetKeyword
.Kind());
2518
Assert.False(ls.
LetKeyword
.IsMissing);