Skip to content

Commit 4051f98

Browse files
Update Orm/Xtensive.Orm/Sql/Dml/Expressions/SqlCustomFunctionCall.cs
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
1 parent 7b9547f commit 4051f98

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Orm/Xtensive.Orm/Sql/Dml/Expressions/SqlCustomFunctionCall.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ public override void ReplaceWith(SqlExpression expression)
3030

3131
internal override SqlCustomFunctionCall Clone(SqlNodeCloneContext context) =>
3232
context.GetOrAdd(this, static (t, c) =>
33-
new SqlCustomFunctionCall(t.FunctionType, Arguments.Select(o => (SqlExpression) o.Clone(context)).ToArray(Arguments.Count));
34-
);
33+
new SqlCustomFunctionCall(t.FunctionType, t.Arguments.Select(o => o.Clone(c)).ToArray(t.Arguments.Count)));
3534

3635
public override void AcceptVisitor(ISqlVisitor visitor) => visitor.Visit(this);
3736

0 commit comments

Comments
 (0)