23 references to Expression
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
525
if (MakeQueryUnboundLambda(enclosingBinder, state.RangeVariableMap(), x, let.
Expression
))
Binder\Binder_Query.cs (5)
735
lambdaBodyBinder = lambdaBodyBinder.GetRequiredBinder(let.
Expression
);
737
var yExpression = lambdaBodyBinder.BindRValueWithoutTargetType(let.
Expression
, d);
738
SourceLocation errorLocation = new SourceLocation(let.SyntaxTree, new TextSpan(let.Identifier.SpanStart, let.
Expression
.Span.End - let.Identifier.SpanStart));
755
return lambdaBodyBinder.CreateLambdaBlockForQueryClause(let.
Expression
, construction, d);
758
var lambda = MakeQueryUnboundLambda(state.RangeVariableMap(), ImmutableArray.Create(x), let.
Expression
, bodyFactory, diagnostics.AccumulatesDependencies);
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
)
4520
public LetClauseSyntax WithLetKeyword(SyntaxToken letKeyword) => Update(letKeyword, this.Identifier, this.EqualsToken, 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
);
Syntax\LambdaUtilities.cs (3)
88
return ((LetClauseSyntax)newLambda).
Expression
;
175
return letClause.
Expression
== node;
315
lambdaBody1 = ((LetClauseSyntax)node).
Expression
;
Microsoft.CodeAnalysis.CSharp.Features (5)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
150
return AddToBlockTop(CreateLocalDeclarationStatement(letClause.Identifier, letClause.
Expression
, generateTypeFromExpression: false), statement);
EditAndContinue\BreakpointSpans.cs (1)
399
return TryCreateSpanForNode(letClause.
Expression
, position);
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (3)
88
return ((LetClauseSyntax)newLambda).
Expression
;
175
return letClause.
Expression
== node;
315
lambdaBody1 = ((LetClauseSyntax)node).
Expression
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (2)
11989
Assert.NotNull(node.
Expression
);
11990
var newNode = node.WithLetKeyword(node.LetKeyword).WithIdentifier(node.Identifier).WithEqualsToken(node.EqualsToken).WithExpression(node.
Expression
);
Parsing\ExpressionParsingTests.cs (2)
2523
Assert.NotNull(ls.
Expression
);
2524
Assert.Equal("B", ls.
Expression
.ToString());