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