32 references to RightExpression
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
450if (MakeQueryUnboundLambda(enclosingBinder, QueryTranslationState.RangeVariableMap(x2), x2, join.RightExpression))
Binder\Binder_Query.cs (1)
410var innerKeySelectorLambda = MakeQueryUnboundLambda(QueryTranslationState.RangeVariableMap(x2), x2, join.RightExpression, diagnostics.AccumulatesDependencies);
Binder\Binder_QueryErrors.cs (1)
157if (join.RightExpression.Span.Contains(node.Span)) 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)
4593if (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) 4603public JoinClauseSyntax WithJoinKeyword(SyntaxToken joinKeyword) => Update(joinKeyword, this.Type, this.Identifier, this.InKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into); 4604public JoinClauseSyntax WithType(TypeSyntax? type) => Update(this.JoinKeyword, type, this.Identifier, this.InKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into); 4605public JoinClauseSyntax WithIdentifier(SyntaxToken identifier) => Update(this.JoinKeyword, this.Type, identifier, this.InKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into); 4606public JoinClauseSyntax WithInKeyword(SyntaxToken inKeyword) => Update(this.JoinKeyword, this.Type, this.Identifier, inKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into); 4607public JoinClauseSyntax WithInExpression(ExpressionSyntax inExpression) => Update(this.JoinKeyword, this.Type, this.Identifier, this.InKeyword, inExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into); 4608public JoinClauseSyntax WithOnKeyword(SyntaxToken onKeyword) => Update(this.JoinKeyword, this.Type, this.Identifier, this.InKeyword, this.InExpression, onKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into); 4609public JoinClauseSyntax WithLeftExpression(ExpressionSyntax leftExpression) => Update(this.JoinKeyword, this.Type, this.Identifier, this.InKeyword, this.InExpression, this.OnKeyword, leftExpression, this.EqualsKeyword, this.RightExpression, this.Into); 4610public JoinClauseSyntax WithEqualsKeyword(SyntaxToken equalsKeyword) => Update(this.JoinKeyword, this.Type, this.Identifier, this.InKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, equalsKeyword, this.RightExpression, this.Into); 4612public 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 (4)
107Debug.Assert(oldJoin.LeftExpression == oldBody || oldJoin.RightExpression == oldBody); 108return (oldJoin.LeftExpression == oldBody) ? newJoin.LeftExpression : newJoin.RightExpression; 171return joinClause.LeftExpression == node || joinClause.RightExpression == node; 311lambdaBody2 = joinClause.RightExpression;
Microsoft.CodeAnalysis.CSharp.Features (6)
Completion\KeywordRecommenders\IntoKeywordRecommender.cs (1)
109var lastToken = join.RightExpression.GetLastToken(includeSkipped: true);
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
206Argument(joinClause.RightExpression.WithoutTrailingTrivia())])),
src\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs (4)
107Debug.Assert(oldJoin.LeftExpression == oldBody || oldJoin.RightExpression == oldBody); 108return (oldJoin.LeftExpression == oldBody) ? newJoin.LeftExpression : newJoin.RightExpression; 171return joinClause.LeftExpression == node || joinClause.RightExpression == node; 311lambdaBody2 = joinClause.RightExpression;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Generated\Syntax.Test.xml.Generated.cs (2)
12007Assert.NotNull(node.RightExpression); 12009var 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)
2860Assert.NotNull(js.RightExpression); 2861Assert.Equal("b", js.RightExpression.ToString()); 2915Assert.NotNull(js.RightExpression); 2916Assert.Equal("b", js.RightExpression.ToString()); 2968Assert.NotNull(js.RightExpression); 2969Assert.Equal("b", js.RightExpression.ToString());