32 references to Into
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder.IdentifierUsedAsValueFinder.cs (2)
452
if (join.
Into
!= null)
457
state.AddRangeVariable(enclosingBinder, join.
Into
.Identifier, BindingDiagnosticBag.Discarded);
Binder\Binder_Query.cs (7)
141
return ((JoinClauseSyntax)firstClause).
Into
== null ? "Join" : "GroupJoin";
416
if (join.
Into
== null)
451
var g = state.AddRangeVariable(this, join.
Into
.Identifier, diagnostics);
472
arguments = arguments.SetItem(arguments.Length - 1, MakeQueryClause(join.
Into
, arguments[arguments.Length - 1], g));
484
if (join.
Into
== null)
524
var g = state.AddRangeVariable(this, join.
Into
.Identifier, diagnostics);
543
arguments = arguments.SetItem(arguments.Length - 1, MakeQueryClause(join.
Into
, arguments[arguments.Length - 1], g));
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
);
4609
public JoinClauseSyntax WithLeftExpression(ExpressionSyntax leftExpression) => Update(this.JoinKeyword, this.Type, this.Identifier, this.InKeyword, this.InExpression, this.OnKeyword, 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
);
Microsoft.CodeAnalysis.CSharp.Features (2)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (2)
153
if (joinClause.
Into
!= null)
859
if (joinClause.
Into
== null) // GroupJoin is not supported
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\QueryTests.cs (1)
3518
JoinIntoClauseSyntax joinInto = ((JoinClauseSyntax)queryExpression.Body.Clauses[0]).
Into
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Generated\Syntax.Test.xml.Generated.cs (2)
12008
Assert.Null(node.
Into
);
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 (7)
2862
Assert.Null(js.
Into
);
2917
Assert.Null(js.
Into
);
2970
Assert.NotNull(js.
Into
);
2971
Assert.NotEqual(default, js.
Into
.IntoKeyword);
2972
Assert.False(js.
Into
.IntoKeyword.IsMissing);
2973
Assert.NotEqual(default, js.
Into
.Identifier);
2974
Assert.Equal("c", js.
Into
.Identifier.ToString());