2 instantiations of VarDefOp
System.Data.Entity (2)
System\Data\Query\InternalTrees\AncillaryOps.cs (1)
35
internal static readonly VarDefOp Pattern = new
VarDefOp
();
System\Data\Query\InternalTrees\Command.cs (1)
1046
return new
VarDefOp
(v);
67 references to VarDefOp
System.Data.Entity (67)
System\Data\Query\InternalTrees\AncillaryOps.cs (1)
35
internal static readonly
VarDefOp
Pattern = new VarDefOp();
System\Data\Query\InternalTrees\Command.cs (3)
1044
internal
VarDefOp
CreateVarDefOp(Var v)
1064
VarDefOp
varDefOp = this.CreateVarDefOp(computedVar);
1693
VarDefOp
varDefOp = this.CreateVarDefOp(v);
System\Data\Query\InternalTrees\Dump.cs (1)
527
public override void Visit(
VarDefOp
op, Node n) {
System\Data\Query\InternalTrees\NodeInfo.cs (5)
572
VarDefOp
varDefOp = varDefNode.Op as
VarDefOp
;
622
VarDefOp
varDefOp = chi.Op as
VarDefOp
;
753
nodeInfo.NonNullableDefinitions.Set(((
VarDefOp
)chi.Op).Var);
System\Data\Query\InternalTrees\OpCopier.cs (1)
1042
public override Node Visit(
VarDefOp
op, Node n)
System\Data\Query\InternalTrees\Visitors.cs (2)
477
public virtual void Visit(
VarDefOp
op, Node n)
861
public virtual TResultType Visit(
VarDefOp
op, Node n)
System\Data\Query\PlanCompiler\AggregatePushdown.cs (3)
445
constantDefinitions.Add(((
VarDefOp
)definitionNode.Op).Var, definitionNode.Child0);
677
public override void Visit(
VarDefOp
op, Node n)
718
Var groupAggregateVar = ((
VarDefOp
)child.Op).Var;
System\Data\Query\PlanCompiler\CTreeGenerator.cs (5)
527
VarDefOp
defOp = childNode.Op as
VarDefOp
;
1740
VarDefOp
aggVarDef = aggVarDefNode.Op as
VarDefOp
;
2303
public override DbExpression Visit(
VarDefOp
op, Node n)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (2)
2696
Var keyVar = ((
VarDefOp
)keyVarDef.Op).Var;
2697
Var copyOfKeyVar = ((
VarDefOp
)copyOfKeyVarDef.Op).Var;
System\Data\Query\PlanCompiler\NestPullup.cs (13)
287
public override Node Visit(
VarDefOp
op, Node n)
734
VarDefOp
varDefOp = chi.Op as
VarDefOp
;
996
VarDefOp
varDefOp = (
VarDefOp
)chi.Op;
1108
newNestedProjectOutputs.Set(((
VarDefOp
)varDefNode.Op).Var);
1187
VarDefOp
varDefOp = (
VarDefOp
)chi.Op;
1205
VarDefOp
varDefOp = (
VarDefOp
)chi.Op;
1419
VarDefOp
varDefOp = (
VarDefOp
)chi.Op;
1746
PlanCompiler.Assert(((
VarDefOp
)n.Child0.Op).Var == op.Var, "Unnest var not found?");
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (7)
780
PlanCompiler.Assert(chi.Op is
VarDefOp
, "VarDefOp expected");
782
VarDefOp
varDefOp = (
VarDefOp
)chi.Op;
918
private Node FlattenEnumOrStrongSpatialVar(
VarDefOp
varDefOp, Node node)
1325
VarDefOp
varDefOp = chi.Op as
VarDefOp
;
1535
VarDefOp
varDefOp = m_command.CreateVarDefOp(v);
System\Data\Query\PlanCompiler\ProjectionPruner.cs (5)
301
VarDefOp
varDefOp = chi.Op as
VarDefOp
;
535
VarVec constantKeyVars = this.m_command.CreateVarVec(constantKeys.Select(d => ((
VarDefOp
)d.Op).Var));
544
varDefListNode.Children.RemoveAll(c => constantKeys.Contains(c) && constantKeyVars.IsSet(((
VarDefOp
)c.Op).Var));
550
Var keyVar = ((
VarDefOp
)keyNode.Op).Var;
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (1)
548
public override void Visit(
VarDefOp
op, Node n)
System\Data\Query\PlanCompiler\TransformationRules.cs (18)
296
VarDefOp
varDefOp = (
VarDefOp
)chi.Op;
2152
VarDefOp
varDefOp = (
VarDefOp
)chi.Op;
2270
VarDefOp
varDefOp = (
VarDefOp
)varDefNode.Op;
2348
if (!canChangeNullSentinelValue || !TransformationRulesContext.TryGetInt32Var(n.Child1.Children.Where(child => child.Child0.Op.OpType == OpType.Constant || child.Child0.Op.OpType == OpType.InternalConstant).Select(child => ((
VarDefOp
)(child.Op)).Var), out inputSentinel))
2350
inputSentinel = n.Child1.Children.Where(child => child.Child0.Op.OpType == OpType.NullSentinel).Select(child => ((
VarDefOp
)(child.Op)).Var).FirstOrDefault();
2373
else if (!inputSentinel.Equals(((
VarDefOp
)varDefNode.Op).Var))
2375
projectOp.Outputs.Clear(((
VarDefOp
)varDefNode.Op).Var);
2377
trc.AddVarMapping(((
VarDefOp
)varDefNode.Op).Var, inputSentinel);
2480
new Node(
VarDefOp
.Pattern,
2492
new Node(
VarDefOp
.Pattern,
3216
public override void Visit(
VarDefOp
op, Node n)
3928
VarDefOp
varDefOp = (
VarDefOp
)varDefNode.Op;
4015
projectDefinitions.Clear(((
VarDefOp
)varDefNode.Op).Var);
4030
Var var = ((
VarDefOp
)varDefNode.Op).Var;