9 writes to Expression
System.Data.Linq (9)
SqlClient\Common\SqlNode.cs (1)
783this.Expression = expr;
SqlClient\Common\SqlVisitor.cs (2)
273rowNumber.OrderBy[i].Expression = this.VisitExpression(rowNumber.OrderBy[i].Expression); 445select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
SqlClient\Query\SqlBinder.cs (1)
1169select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
SqlClient\Query\SqlBooleanMismatchVisitor.cs (1)
32select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
SqlClient\Query\SqlDeflator.cs (2)
160select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression); 411select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
SqlClient\Query\SqlReorderer.cs (1)
168select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
SqlClient\Query\SqlResolver.cs (1)
99select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
29 references to Expression
System.Data.Linq (29)
SqlClient\Common\SqlNode.cs (5)
823if (!this.Expression.SqlType.Equals(other.Expression.SqlType)) 826SqlColumn col1 = SqlOrderExpression.UnwrapColumn(this.Expression); 827SqlColumn col2 = SqlOrderExpression.UnwrapColumn(other.Expression); 836SqlColumn col = SqlOrderExpression.UnwrapColumn(this.Expression);
SqlClient\Common\SqlVisitor.cs (2)
273rowNumber.OrderBy[i].Expression = this.VisitExpression(rowNumber.OrderBy[i].Expression); 445select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
SqlClient\Query\SqlBinder.cs (1)
1169select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
SqlClient\Query\SqlBooleanMismatchVisitor.cs (1)
32select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);
SqlClient\Query\SqlDeflator.cs (4)
160select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression); 411select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression); 422if (this.equalizer.AreEquivalent(select.OrderBy[i].Expression, select.OrderBy[j].Expression))
SqlClient\Query\SqlDuplicator.cs (2)
81orderBy.Add(new SqlOrderExpression(expr.OrderType, (SqlExpression)this.Visit(expr.Expression))); 219SqlOrderExpression nsox = new SqlOrderExpression(sox.OrderType, (SqlExpression)this.Visit(sox.Expression));
SqlClient\Query\SqlFlattener.cs (4)
243if (!obex.Expression.SqlType.IsOrderable) { 244if (obex.Expression.SqlType.CanBeColumn) { 245throw Error.InvalidOrderByExpression(obex.Expression.SqlType.ToQueryString()); 248throw Error.InvalidOrderByExpression(obex.Expression.ClrType.Name);
SqlClient\Query\SqlFormatter.cs (2)
190this.Visit(exp.Expression); 836this.Visit(exp.Expression);
SqlClient\Query\SqlNamer.cs (1)
223visitor.Visit(expr.Expression);
SqlClient\Query\SqlOuterApplyReducer.cs (1)
427this.ReferenceColumns(oe.Expression);
SqlClient\Query\SqlRemoveConstantOrderBy.cs (1)
26SqlExpression expr = orders[i].Expression;
SqlClient\Query\SqlReorderer.cs (4)
168select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression); 198select.OrderBy.Add(new SqlOrderExpression(sox.OrderType, (SqlExpression)dup.Duplicate(sox.Expression))); 221if (!expr.Expression.IsConstantColumn) { 256rowNumber.OrderBy.Add(new SqlOrderExpression(sox.OrderType, (SqlExpression)dup.Duplicate(sox.Expression)));
SqlClient\Query\SqlResolver.cs (1)
99select.OrderBy[i].Expression = this.VisitExpression(select.OrderBy[i].Expression);