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