36 references to LeftExpression
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
446
MakeQueryUnboundLambda(enclosingBinder, state.RangeVariableMap(), state.rangeVariable, join.
LeftExpression
))
Binder\Binder_Query.cs (1)
406
var outerKeySelectorLambda = MakeQueryUnboundLambda(state.RangeVariableMap(), state.rangeVariable, join.
LeftExpression
, diagnostics.AccumulatesDependencies);
Binder\Binder_QueryErrors.cs (1)
141
if (join.
LeftExpression
.Span.Contains(node.Span) && join.Identifier.ValueText == node.Identifier.ValueText) return true;
Syntax.xml.Main.Generated.cs (1)
1732
=> node.Update(VisitToken(node.JoinKeyword), (TypeSyntax?)Visit(node.Type), VisitToken(node.Identifier), VisitToken(node.InKeyword), (ExpressionSyntax?)Visit(node.InExpression) ?? throw new ArgumentNullException("inExpression"), VisitToken(node.OnKeyword), (ExpressionSyntax?)Visit(node.
LeftExpression
) ?? throw new ArgumentNullException("leftExpression"), VisitToken(node.EqualsKeyword), (ExpressionSyntax?)Visit(node.RightExpression) ?? throw new ArgumentNullException("rightExpression"), (JoinIntoClauseSyntax?)Visit(node.Into));
Syntax.xml.Syntax.Generated.cs (10)
4593
if (joinKeyword != this.JoinKeyword || type != this.Type || identifier != this.Identifier || inKeyword != this.InKeyword || inExpression != this.InExpression || onKeyword != this.OnKeyword || leftExpression != this.
LeftExpression
|| equalsKeyword != this.EqualsKeyword || rightExpression != this.RightExpression || into != this.Into)
4603
public JoinClauseSyntax WithJoinKeyword(SyntaxToken joinKeyword) => Update(joinKeyword, this.Type, this.Identifier, this.InKeyword, this.InExpression, this.OnKeyword, this.
LeftExpression
, this.EqualsKeyword, this.RightExpression, this.Into);
4604
public JoinClauseSyntax WithType(TypeSyntax? type) => Update(this.JoinKeyword, type, this.Identifier, this.InKeyword, this.InExpression, this.OnKeyword, this.
LeftExpression
, this.EqualsKeyword, this.RightExpression, this.Into);
4605
public JoinClauseSyntax WithIdentifier(SyntaxToken identifier) => Update(this.JoinKeyword, this.Type, identifier, this.InKeyword, this.InExpression, this.OnKeyword, this.
LeftExpression
, this.EqualsKeyword, this.RightExpression, this.Into);
4606
public JoinClauseSyntax WithInKeyword(SyntaxToken inKeyword) => Update(this.JoinKeyword, this.Type, this.Identifier, inKeyword, this.InExpression, this.OnKeyword, this.
LeftExpression
, this.EqualsKeyword, this.RightExpression, this.Into);
4607
public JoinClauseSyntax WithInExpression(ExpressionSyntax inExpression) => Update(this.JoinKeyword, this.Type, this.Identifier, this.InKeyword, inExpression, this.OnKeyword, this.
LeftExpression
, this.EqualsKeyword, this.RightExpression, this.Into);
4608
public JoinClauseSyntax WithOnKeyword(SyntaxToken onKeyword) => Update(this.JoinKeyword, this.Type, this.Identifier, this.InKeyword, this.InExpression, onKeyword, this.
LeftExpression
, this.EqualsKeyword, this.RightExpression, this.Into);
4610
public JoinClauseSyntax WithEqualsKeyword(SyntaxToken equalsKeyword) => Update(this.JoinKeyword, this.Type, this.Identifier, this.InKeyword, this.InExpression, this.OnKeyword, this.
LeftExpression
, equalsKeyword, this.RightExpression, this.Into);
4611
public JoinClauseSyntax WithRightExpression(ExpressionSyntax rightExpression) => Update(this.JoinKeyword, this.Type, this.Identifier, this.InKeyword, this.InExpression, this.OnKeyword, this.
LeftExpression
, this.EqualsKeyword, rightExpression, this.Into);
4612
public JoinClauseSyntax WithInto(JoinIntoClauseSyntax? into) => Update(this.JoinKeyword, this.Type, this.Identifier, this.InKeyword, this.InExpression, this.OnKeyword, this.
LeftExpression
, this.EqualsKeyword, this.RightExpression, into);
Syntax\LambdaUtilities.cs (5)
107
Debug.Assert(oldJoin.
LeftExpression
== oldBody || oldJoin.RightExpression == oldBody);
108
return (oldJoin.
LeftExpression
== oldBody) ? newJoin.
LeftExpression
: newJoin.RightExpression;
171
return joinClause.
LeftExpression
== node || joinClause.RightExpression == node;
310
lambdaBody1 = joinClause.
LeftExpression
;
Microsoft.CodeAnalysis.CSharp.Features (9)
Completion\KeywordRecommenders\EqualsKeywordRecommender.cs (2)
28
var lastToken = join.
LeftExpression
.GetLastToken(includeSkipped: true);
31
if (join.
LeftExpression
.Width() > 0 &&
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
205
Argument(joinClause.
LeftExpression
),
EditAndContinue\BreakpointSpans.cs (1)
395
return TryCreateSpanForNode(joinClause.
LeftExpression
, position);
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (5)
107
Debug.Assert(oldJoin.
LeftExpression
== oldBody || oldJoin.RightExpression == oldBody);
108
return (oldJoin.
LeftExpression
== oldBody) ? newJoin.
LeftExpression
: newJoin.RightExpression;
171
return joinClause.
LeftExpression
== node || joinClause.RightExpression == node;
310
lambdaBody1 = joinClause.
LeftExpression
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Generated\Syntax.Test.xml.Generated.cs (2)
12005
Assert.NotNull(node.
LeftExpression
);
12009
var newNode = node.WithJoinKeyword(node.JoinKeyword).WithType(node.Type).WithIdentifier(node.Identifier).WithInKeyword(node.InKeyword).WithInExpression(node.InExpression).WithOnKeyword(node.OnKeyword).WithLeftExpression(node.
LeftExpression
).WithEqualsKeyword(node.EqualsKeyword).WithRightExpression(node.RightExpression).WithInto(node.Into);
Parsing\ExpressionParsingTests.cs (6)
2855
Assert.NotNull(js.
LeftExpression
);
2856
Assert.Equal("a", js.
LeftExpression
.ToString());
2911
Assert.NotNull(js.
LeftExpression
);
2912
Assert.Equal("a", js.
LeftExpression
.ToString());
2964
Assert.NotNull(js.
LeftExpression
);
2965
Assert.Equal("a", js.
LeftExpression
.ToString());