3 overrides of VisitExpression
System.Data.Linq (3)
SqlClient\Query\SqlBinder.cs (1)
120
internal override SqlExpression
VisitExpression
(SqlExpression expr) {
SqlClient\Query\SqlBooleanMismatchVisitor.cs (1)
111
internal override SqlExpression
VisitExpression
(SqlExpression exp) {
SqlClient\Query\SqlNamer.cs (1)
145
internal override SqlExpression
VisitExpression
(SqlExpression expr) {
204 references to VisitExpression
System.Data.Linq (204)
SqlClient\Common\SqlVisitor.cs (65)
273
rowNumber.OrderBy[i].Expression = this.
VisitExpression
(rowNumber.OrderBy[i].Expression);
288
lift.Expression = this.
VisitExpression
(lift.Expression);
292
uo.Operand = this.
VisitExpression
(uo.Operand);
296
bo.Left = this.
VisitExpression
(bo.Left);
297
bo.Right = this.
VisitExpression
(bo.Right);
308
m.Expression = this.
VisitExpression
(m.Expression);
312
c.Operand = this.
VisitExpression
(c.Operand);
316
t.Operand = this.
VisitExpression
(t.Operand);
324
suq.Arguments[i] = this.
VisitExpression
(suq.Arguments[i]);
326
suq.Projection = this.
VisitExpression
(suq.Projection);
334
spc.Arguments[i] = this.
VisitExpression
(spc.Arguments[i]);
336
spc.Projection = this.
VisitExpression
(spc.Projection);
350
row.Columns[i].Expression = this.
VisitExpression
(row.Columns[i].Expression);
356
sox.Args[i] = this.
VisitExpression
(sox.Args[i]);
359
sox.Members[i].Expression = this.
VisitExpression
(sox.Members[i].Expression);
366
link.KeyExpressions[i] = this.
VisitExpression
(link.KeyExpressions[i]);
372
cq.Arguments[i] = this.
VisitExpression
(cq.Arguments[i]);
377
jc.Expression = this.
VisitExpression
(jc.Expression);
378
jc.Count = this.
VisitExpression
(jc.Count);
383
scar.Expressions[i] = this.
VisitExpression
(scar.Expressions[i]);
391
col.Expression = this.
VisitExpression
(col.Expression);
431
join.Condition = this.
VisitExpression
(join.Condition);
439
select.Where = this.
VisitExpression
(select.Where);
441
select.GroupBy[i] = this.
VisitExpression
(select.GroupBy[i]);
443
select.Having = this.
VisitExpression
(select.Having);
445
select.OrderBy[i].Expression = this.
VisitExpression
(select.OrderBy[i].Expression);
447
select.Top = this.
VisitExpression
(select.Top);
453
select.Selection = this.
VisitExpression
(select.Selection);
458
insert.Expression = this.
VisitExpression
(insert.Expression);
474
ma.Expression = this.
VisitExpression
(ma.Expression);
478
sa.LValue = this.
VisitExpression
(sa.LValue);
479
sa.RValue = this.
VisitExpression
(sa.RValue);
491
when.Match = this.
VisitExpression
(when.Match);
492
when.Value = this.
VisitExpression
(when.Value);
494
c.Else = this.
VisitExpression
(c.Else);
498
c.Expression = this.
VisitExpression
(c.Expression);
501
when.Match = this.
VisitExpression
(when.Match);
502
when.Value = this.
VisitExpression
(when.Value);
507
c.Expression = this.
VisitExpression
(c.Expression);
510
when.Match = this.
VisitExpression
(when.Match);
511
when.Value = this.
VisitExpression
(when.Value);
516
tc.Discriminator = this.
VisitExpression
(tc.Discriminator);
519
when.Match = this.
VisitExpression
(when.Match);
520
when.TypeBinding = this.
VisitExpression
(when.TypeBinding);
531
xs.Expressions[i] = this.
VisitExpression
(xs.Expressions[i]);
539
sov.HasValue = this.
VisitExpression
(sov.HasValue);
540
sov.Value = this.
VisitExpression
(sov.Value);
544
between.Expression = this.
VisitExpression
(between.Expression);
545
between.Start = this.
VisitExpression
(between.Start);
546
between.End = this.
VisitExpression
(between.End);
550
sin.Expression = this.
VisitExpression
(sin.Expression);
552
sin.Values[i] = this.
VisitExpression
(sin.Values[i]);
557
like.Expression = this.
VisitExpression
(like.Expression);
558
like.Pattern = this.
VisitExpression
(like.Pattern);
559
like.Escape = this.
VisitExpression
(like.Escape);
564
fc.Arguments[i] = this.
VisitExpression
(fc.Arguments[i]);
570
fc.Arguments[i] = this.
VisitExpression
(fc.Arguments[i]);
575
mc.Object = this.
VisitExpression
(mc.Object);
577
mc.Arguments[i] = this.
VisitExpression
(mc.Arguments[i]);
582
shared.Expression = this.
VisitExpression
(shared.Expression);
589
simple.Expression = this.
VisitExpression
(simple.Expression);
593
g.Key = this.
VisitExpression
(g.Key);
594
g.Group = this.
VisitExpression
(g.Group);
598
dt.Discriminator = this.
VisitExpression
(dt.Discriminator);
602
dof.Object = this.
VisitExpression
(dof.Object);
SqlClient\Query\ContainsRowNumberChecker.cs (1)
59
row.Columns[i].Expression = this.
VisitExpression
(row.Columns[i].Expression);
SqlClient\Query\MethodCallConverter.cs (6)
203
m.Expression = this.
VisitExpression
(m.Expression);
214
mc.Object = this.
VisitExpression
(mc.Object);
216
mc.Arguments[i] = this.
VisitExpression
(mc.Arguments[i]);
304
return this.
VisitExpression
(sql.DiscriminatedType(discriminatorOf, mt));
306
return this.
VisitExpression
(sql.StaticType(mt, mc.SourceExpression));
331
t.Operand = this.
VisitExpression
(t.Operand);
SqlClient\Query\QueryConverter.cs (1)
2790
select.Selection = this.
VisitExpression
(select.Selection);
SqlClient\Query\SqlAliasesReferenced.cs (2)
47
VisitExpression
(col.Expression);
53
VisitExpression
(cref.Column.Expression);
SqlClient\Query\SqlBooleanMismatchVisitor.cs (1)
89
lift.Expression = base.
VisitExpression
(lift.Expression);
SqlClient\Query\SqlCaseSimplifier.cs (6)
84
return this.
VisitExpression
(sql.Case(typeof(bool), sc.Expression, matches, values, sc.SourceExpression));
88
c.Expression = this.
VisitExpression
(c.Expression);
99
c.Whens[compareWhen].Match =
VisitExpression
(c.Whens[compareWhen].Match);
100
c.Whens[compareWhen].Value =
VisitExpression
(c.Whens[compareWhen].Value);
108
when.Match = this.
VisitExpression
(when.Match);
109
when.Value = this.
VisitExpression
(when.Value);
SqlClient\Query\SqlColumnizer.cs (6)
95
c.Expression = this.
VisitExpression
(c.Expression);
98
c.Whens[i].Value = this.
VisitExpression
(c.Whens[i].Value);
104
tc.Discriminator = this.
VisitExpression
(tc.Discriminator);
107
tc.Whens[i].TypeBinding = this.
VisitExpression
(tc.Whens[i].TypeBinding);
113
c.Expression = this.
VisitExpression
(c.Expression);
116
c.Whens[i].Value = this.
VisitExpression
(c.Whens[i].Value);
SqlClient\Query\SqlDeflator.cs (17)
42
select.Selection = sDeflator.
VisitExpression
(select.Selection);
135
select.Selection = this.
VisitExpression
(select.Selection);
154
this.
VisitExpression
(c.Expression);
158
select.Top = this.
VisitExpression
(select.Top);
160
select.OrderBy[i].Expression = this.
VisitExpression
(select.OrderBy[i].Expression);
163
select.Having = this.
VisitExpression
(select.Having);
165
select.GroupBy[i] = this.
VisitExpression
(select.GroupBy[i]);
168
select.Where = this.
VisitExpression
(select.Where);
180
join.Condition = this.
VisitExpression
(join.Condition);
189
link.KeyExpressions[i] = this.
VisitExpression
(link.KeyExpressions[i]);
391
select.Where = this.
VisitExpression
(select.Where);
394
select.GroupBy[i] = this.
VisitExpression
(select.GroupBy[i]);
408
select.Having = this.
VisitExpression
(select.Having);
411
select.OrderBy[i].Expression = this.
VisitExpression
(select.OrderBy[i].Expression);
430
select.Top = this.
VisitExpression
(select.Top);
432
select.Selection = this.
VisitExpression
(select.Selection);
454
aselect.Selection = new ColumnMapper(map).
VisitExpression
(select.Selection);
SqlClient\Query\SqlDuplicator.cs (54)
62
return new SqlDoNotVisitExpression(this.
VisitExpression
(expr.Expression));
92
SqlSubSelect query = (SqlSubSelect) this.
VisitExpression
(cq.Query);
95
nq.Arguments.Add(this.
VisitExpression
(cq.Arguments[i]));
98
nq.Parameters.Add((SqlParameter)this.
VisitExpression
(cq.Parameters[i]));
103
return new SqlJoinedCollection(jc.ClrType, jc.SqlType, this.
VisitExpression
(jc.Expression), this.
VisitExpression
(jc.Count), jc.SourceExpression);
108
exprs[i] = this.
VisitExpression
(scar.Expressions[i]);
113
SqlExpression disc =
VisitExpression
(tc.Discriminator);
116
whens.Add(new SqlTypeCaseWhen(
VisitExpression
(when.Match),
VisitExpression
(when.TypeBinding)));
124
args[i] = this.
VisitExpression
(sox.Args[i]);
134
exprs[i] = this.
VisitExpression
(link.KeyExpressions[i]);
139
newLink.Expression = this.
VisitExpression
(link.Expression);
140
newLink.Expansion = this.
VisitExpression
(link.Expansion);
146
n.Expression = this.
VisitExpression
(col.Expression);
166
SqlInsert n = new SqlInsert(si.Table, this.
VisitExpression
(si.Expression), si.SourceExpression);
226
SqlExpression selection = this.
VisitExpression
(select.Selection);
254
args.Add(this.
VisitExpression
(expr));
256
SqlExpression projection = this.
VisitExpression
(suq.Projection);
271
args.Add(this.
VisitExpression
(expr));
273
SqlExpression projection = this.
VisitExpression
(spc.Projection);
305
return new SqlAssign(this.
VisitExpression
(sa.LValue), this.
VisitExpression
(sa.RValue), sa.SourceExpression);
308
SqlExpression @else = this.
VisitExpression
(c.Else);
312
whens[i] = new SqlWhen(this.
VisitExpression
(when.Match), this.
VisitExpression
(when.Value));
317
SqlExpression expr = this.
VisitExpression
(c.Expression);
321
whens[i] = new SqlClientWhen(this.
VisitExpression
(when.Match), this.
VisitExpression
(when.Value));
326
SqlExpression expr = this.
VisitExpression
(c.Expression);
330
whens[i] = new SqlWhen(this.
VisitExpression
(when.Match), this.
VisitExpression
(when.Value));
340
exprs[i] = this.
VisitExpression
(xs.Expressions[i]);
355
SqlExpression hasValue = this.
VisitExpression
(sov.HasValue);
356
SqlExpression value = this.
VisitExpression
(sov.Value);
363
this.
VisitExpression
(between.Expression),
364
this.
VisitExpression
(between.Start),
365
this.
VisitExpression
(between.End),
371
SqlIn nin = new SqlIn(sin.ClrType, sin.SqlType, this.
VisitExpression
(sin.Expression), sin.Values, sin.SourceExpression);
373
nin.Values[i] = this.
VisitExpression
(nin.Values[i]);
380
this.
VisitExpression
(like.Expression),
381
this.
VisitExpression
(like.Pattern),
382
this.
VisitExpression
(like.Escape),
389
args[i] = this.
VisitExpression
(fc.Arguments[i]);
396
args[i] = this.
VisitExpression
(fc.Arguments[i]);
408
args[i] = this.
VisitExpression
(mc.Arguments[i]);
410
return new SqlMethodCall(mc.ClrType, mc.SqlType, mc.Method, this.
VisitExpression
(mc.Object), args, mc.SourceExpression);
415
n.Expression = this.
VisitExpression
(sub.Expression);
425
SqlSimpleExpression n = new SqlSimpleExpression(this.
VisitExpression
(simple.Expression));
430
this.
VisitExpression
(g.Key), this.
VisitExpression
(g.Group), g.SourceExpression
435
return new SqlDiscriminatedType(dt.SqlType, this.
VisitExpression
(dt.Discriminator), dt.TargetType, dt.SourceExpression);
438
return new SqlLift(lift.ClrType, this.
VisitExpression
(lift.Expression), lift.SourceExpression);
441
return new SqlDiscriminatorOf(this.
VisitExpression
(dof.Object), dof.ClrType, dof.SqlType, dof.SourceExpression);
SqlClient\Query\SqlExpander.cs (8)
25
return (new Visitor(this.factory)).
VisitExpression
(exp);
47
return this.
VisitExpression
(shared.Expression);
51
return this.
VisitExpression
(sref.SharedExpression.Expression);
65
return this.
VisitExpression
(ss.Selection);
69
return this.
VisitExpression
(exp);
78
SqlExpression expansion = this.
VisitExpression
(link.Expansion);
81
exprs[i] = this.
VisitExpression
(link.KeyExpressions[i]);
343
rexprs[i] = this.
VisitExpression
(exprs[i]);
SqlClient\Query\SqlFlattener.cs (1)
83
return new SelectionFlattener(row, this.map, isInput).
VisitExpression
(selection);
SqlClient\Query\SqlGatherConsumedAliases.cs (1)
24
VisitExpression
(col.Expression);
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (1)
89
join.Condition = this.
VisitExpression
(join.Condition);
SqlClient\Query\SqlLiftWhereClauses.cs (1)
86
join.Condition = this.
VisitExpression
(join.Condition);
SqlClient\Query\SqlMethodCallConverter.cs (8)
645
select.Selection = this.skipper.
VisitExpression
(select.Selection);
655
expr = this.
VisitExpression
(uo.Operand);
675
tc.Discriminator = base.
VisitExpression
(tc.Discriminator);
680
SqlExpression newMatch = this.
VisitExpression
(when.Match);
681
SqlExpression newNew = this.
VisitExpression
(when.TypeBinding);
902
mc.Object = this.
VisitExpression
(mc.Object);
904
mc.Arguments[i] = this.
VisitExpression
(mc.Arguments[i]);
2164
SqlExpression exp = this.
VisitExpression
(m.Expression);
SqlClient\Query\SqlMultiplexer.cs (2)
122
select.Selection = this.
VisitExpression
(select.Selection);
256
exprs[i] = this.
VisitExpression
(link.KeyExpressions[i]);
SqlClient\Query\SqlParameterizer.cs (3)
167
select.Selection = this.
VisitExpression
(select.Selection);
178
suq.Projection = this.
VisitExpression
(suq.Projection);
184
SqlExpression result = this.
VisitExpression
(expr);
SqlClient\Query\SqlReorderer.cs (6)
162
select.Where = this.
VisitExpression
(select.Where);
164
select.GroupBy[i] = this.
VisitExpression
(select.GroupBy[i]);
166
select.Having = this.
VisitExpression
(select.Having);
168
select.OrderBy[i].Expression = this.
VisitExpression
(select.OrderBy[i].Expression);
170
select.Top = this.
VisitExpression
(select.Top);
171
select.Selection = this.
VisitExpression
(select.Selection);
SqlClient\Query\SqlResolver.cs (6)
93
select.Where = this.
VisitExpression
(select.Where);
95
select.GroupBy[i] = this.
VisitExpression
(select.GroupBy[i]);
97
select.Having = this.
VisitExpression
(select.Having);
99
select.OrderBy[i].Expression = this.
VisitExpression
(select.OrderBy[i].Expression);
101
select.Top = this.
VisitExpression
(select.Top);
106
select.Selection = this.
VisitExpression
(select.Selection);
SqlClient\Query\SqlRetyper.cs (1)
210
fc.Arguments[i] = this.
VisitExpression
(fc.Arguments[i]);
SqlClient\Query\SqlSupersetValidator.cs (4)
39
SqlExpression expr = this.
VisitExpression
(col.Expression);
67
bo.Left = this.
VisitExpression
(bo.Left);
154
bo.Left = this.
VisitExpression
(bo.Left);
155
bo.Right = this.
VisitExpression
(bo.Right);
SqlClient\Query\SqlTypeConverter.cs (1)
72
uo.Operand = this.
VisitExpression
(uo.Operand);
SqlClient\Query\TypeSource.cs (1)
113
VisitExpression
(select.Selection);
SqlClient\Reader\ObjectReaderCompiler.cs (1)
215
expression = new SourceExpressionRemover().
VisitExpression
(expression);