8 writes to Expression
System.Data.Linq (8)
SqlClient\Common\SqlNode.cs (1)
1484this.Expression = expr;
SqlClient\Common\SqlVisitor.cs (2)
350row.Columns[i].Expression = this.VisitExpression(row.Columns[i].Expression); 391col.Expression = this.VisitExpression(col.Expression);
SqlClient\Query\ContainsRowNumberChecker.cs (1)
59row.Columns[i].Expression = this.VisitExpression(row.Columns[i].Expression);
SqlClient\Query\LongTypeConverter.cs (1)
64col.Expression = ConvertToMax(col.Expression, out columnChanged);
SqlClient\Query\SqlBinder.cs (1)
1220col.Expression = this.ConvertLinks(col.Expression);
SqlClient\Query\SqlDuplicator.cs (1)
146n.Expression = this.VisitExpression(col.Expression);
SqlClient\Query\SqlFlattener.cs (1)
115c.Expression = col.Expression;
70 references to Expression
System.Data.Linq (70)
SqlClient\Common\SqlNode.cs (5)
176if (col.Expression != null) { 177return col.Expression.IsConstantColumn; 1570while (c.Expression != null && c.Expression.NodeType == SqlNodeType.ColumnRef) { 1571c = ((SqlColumnRef)c.Expression).Column;
SqlClient\Common\SqlVisitor.cs (4)
350row.Columns[i].Expression = this.VisitExpression(row.Columns[i].Expression); 391col.Expression = this.VisitExpression(col.Expression); 622return exp == col || this.RefersToColumn(((SqlColumn)exp).Expression, col); 625return cref.Column == col || this.RefersToColumn(cref.Column.Expression, col);
SqlClient\Query\ContainsRowNumberChecker.cs (1)
59row.Columns[i].Expression = this.VisitExpression(row.Columns[i].Expression);
SqlClient\Query\LongTypeConverter.cs (1)
64col.Expression = ConvertToMax(col.Expression, out columnChanged);
SqlClient\Query\SqlAliasesReferenced.cs (2)
47VisitExpression(col.Expression); 53VisitExpression(cref.Column.Expression);
SqlClient\Query\SqlBinder.cs (2)
1219if (col.Expression != null) { 1220col.Expression = this.ConvertLinks(col.Expression);
SqlClient\Query\SqlComparer.cs (6)
115return col1 == col2 || (col1.Expression != null && col2.Expression != null && AreEqual(col1.Expression, col2.Expression)); 276while (cref != null && cref.Column.Expression != null) { 277SqlColumnRef cr = cref.Column.Expression as SqlColumnRef;
SqlClient\Query\SqlDeflator.cs (9)
68expr = ((SqlColumnRef)expr).Column.Expression; 148&& !(select.GroupBy.Count == 0 && this.aggregateChecker.HasAggregates(c.Expression)); 154this.VisitExpression(c.Expression); 288SqlColumnRef c = cref.Column.Expression as SqlColumnRef; 362if (c.Expression != null && c.Expression.NodeType != SqlNodeType.ColumnRef) { 447SqlColumnRef cref = (SqlColumnRef)c.Expression; 481if (c.Expression != null && c.Expression.NodeType != SqlNodeType.ColumnRef) {
SqlClient\Query\SqlDuplicator.cs (1)
146n.Expression = this.VisitExpression(col.Expression);
SqlClient\Query\SqlExpressionNullability.cs (2)
38else if (col.Expression != null) { 39return CanBeNull(col.Expression);
SqlClient\Query\SqlFlattener.cs (7)
105if (c == null && col.Expression != null && !this.isInput && (!this.isNew || (this.isNew && !col.Expression.IsConstantColumn))) { 106c = this.FindColumnWithExpression(this.row.Columns, col.Expression); 114if (col.Expression.NodeType == SqlNodeType.ExprSet && c.Expression.NodeType != SqlNodeType.ExprSet) { 115c.Expression = col.Expression; 165if (SqlComparer.AreEqual(c.Expression, expr)) {
SqlClient\Query\SqlFormatter.cs (7)
311if (c.Expression != null) { 312this.Visit(c.Expression); 408string inferredName = this.InferName(c.Expression, null); 679this.Visit(c.Expression); 681string inferredName = this.InferName(c.Expression, null); 1034this.Visit( si.Row.Columns[i].Expression); 1451this.Visit(col.Expression);
SqlClient\Query\SqlGatherConsumedAliases.cs (1)
24VisitExpression(col.Expression);
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (1)
58bool referencesLeftsideAliases = SqlAliasesReferenced.ReferencesAny(sc.Expression, expressionSink.LeftProduction);
SqlClient\Query\SqlNamer.cs (4)
133if (c.Expression != null) { 134switch (c.Expression.NodeType) { 136var colRef = c.Expression as SqlColumnRef; 234return DiscoverName(((SqlColumn)e).Expression);
SqlClient\Query\SqlOuterApplyReducer.cs (11)
223if (cref.Column.Expression != null) { 224this.Visit(cref.Column.Expression); 258else if (cref.Column.Expression != null) { 259this.Visit(cref.Column.Expression); 265if (col.Expression != null) { 266this.Visit(col.Expression); 301else if (cref.Column.Expression != null) { 302this.Visit(cref.Column.Expression); 307if (col.Expression != null) { 308this.Visit(col.Expression); 439bool referencesAliasesForLifting = this.aliases.ReferencesAny(sc.Expression);
SqlClient\Query\SqlReorderer.cs (1)
238if (col.Expression.SqlType.IsOrderable) {
SqlClient\Query\SqlResolver.cs (1)
180SqlColumnRef cref = col.Expression as SqlColumnRef;
SqlClient\Query\SqlSupersetValidator.cs (3)
39SqlExpression expr = this.VisitExpression(col.Expression); 108this.Visit(c.Expression); 114this.Visit(c.Expression);
SqlClient\Query\SqlUnionizer.cs (1)
31SqlExprSet es = select.Row.Columns[i].Expression as SqlExprSet;