19 references to Expression
Microsoft.CodeAnalysis.CSharp (14)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1741=> node.Update(VisitToken(node.LetKeyword), VisitToken(node.Identifier), VisitToken(node.EqualsToken), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"));
_generated\2\Syntax.xml.Syntax.Generated.cs (4)
4555if (letKeyword != this.LetKeyword || identifier != this.Identifier || equalsToken != this.EqualsToken || expression != this.Expression) 4565public LetClauseSyntax WithLetKeyword(SyntaxToken letKeyword) => Update(letKeyword, this.Identifier, this.EqualsToken, this.Expression); 4566public LetClauseSyntax WithIdentifier(SyntaxToken identifier) => Update(this.LetKeyword, identifier, this.EqualsToken, this.Expression); 4567public LetClauseSyntax WithEqualsToken(SyntaxToken equalsToken) => Update(this.LetKeyword, this.Identifier, equalsToken, this.Expression);
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
526if (MakeQueryUnboundLambda(enclosingBinder, state.RangeVariableMap(), x, let.Expression))
Binder\Binder_Query.cs (5)
734lambdaBodyBinder = lambdaBodyBinder.GetRequiredBinder(let.Expression); 736var yExpression = lambdaBodyBinder.BindRValueWithoutTargetType(let.Expression, d); 737SourceLocation errorLocation = new SourceLocation(let.SyntaxTree, new TextSpan(let.Identifier.SpanStart, let.Expression.Span.End - let.Identifier.SpanStart)); 754return lambdaBodyBinder.CreateLambdaBlockForQueryClause(let.Expression, construction, d); 757var lambda = MakeQueryUnboundLambda(state.RangeVariableMap(), ImmutableArray.Create(x), let.Expression, bodyFactory, diagnostics.AccumulatesDependencies);
Syntax\LambdaUtilities.cs (3)
88return ((LetClauseSyntax)newLambda).Expression; 175return letClause.Expression == node; 315lambdaBody1 = ((LetClauseSyntax)node).Expression;
Microsoft.CodeAnalysis.CSharp.Features (5)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
150return AddToBlockTop(CreateLocalDeclarationStatement(letClause.Identifier, letClause.Expression, generateTypeFromExpression: false), statement);
EditAndContinue\BreakpointSpans.cs (1)
399return TryCreateSpanForNode(letClause.Expression, position);
src\roslyn\src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (3)
88return ((LetClauseSyntax)newLambda).Expression; 175return letClause.Expression == node; 315lambdaBody1 = ((LetClauseSyntax)node).Expression;