2 instantiations of CaseOp
System.Data.Entity (2)
System\Data\Query\InternalTrees\Command.cs (1)
793return new CaseOp(type);
System\Data\Query\InternalTrees\ScalarOps.cs (1)
807internal static readonly CaseOp Pattern = new CaseOp();
22 references to CaseOp
System.Data.Entity (22)
System\Data\Query\InternalTrees\Command.cs (1)
791internal CaseOp CreateCaseOp(TypeUsage type)
System\Data\Query\InternalTrees\Dump.cs (1)
190public override void Visit(CaseOp op, Node n) {
System\Data\Query\InternalTrees\OpCopier.cs (1)
384public override Node Visit(CaseOp op, Node n)
System\Data\Query\InternalTrees\ScalarOps.cs (1)
807internal static readonly CaseOp Pattern = new CaseOp();
System\Data\Query\InternalTrees\Visitors.cs (2)
240public virtual void Visit(CaseOp op, Node n) 1333public virtual TResultType Visit(CaseOp op, Node n)
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
793public override DbExpression Visit(CaseOp op, Node n)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
527CaseOp caseOp = _iqtCommand.CreateCaseOp(_iqtCommand.BooleanType);
System\Data\Query\PlanCompiler\NestPullup.cs (1)
331public override Node Visit(CaseOp op, Node n)
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (5)
1918public override Node Visit(CaseOp op, Node n) 2007CaseOp newCaseOp = m_command.CreateCaseOp(integerType); 2048private Node FlattenCaseOp(CaseOp op, Node n, TypeInfo typeInfo, PropertyRefList desiredProperties) 2600CaseOp normalizer = m_command.CreateCaseOp(typeInfo.RootType.TypeIdProperty.TypeUsage); 2963CaseOp caseOp = m_command.CreateCaseOp(typeInfo.FlattenedTypeUsage);
System\Data\Query\PlanCompiler\PlanCompilerUtil.cs (1)
36internal static bool IsRowTypeCaseOpWithNullability(CaseOp op, Node n, out bool thenClauseIsNull)
System\Data\Query\PlanCompiler\PreProcessor.cs (2)
1195public override Node Visit(CaseOp op, Node n) 1487CaseOp caseOp = m_command.CreateCaseOp(op.Type);
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (1)
310public override void Visit(CaseOp op, Node n)
System\Data\Query\PlanCompiler\TransformationRules.cs (4)
841CaseOp caseOp = (CaseOp)caseOpNode.Op; 877private static bool ProcessSimplifyCase_Collapse(CaseOp caseOp, Node caseOpNode, out Node newNode) 914private static bool ProcessSimplifyCase_EliminateWhenClauses(RuleProcessingContext context, CaseOp caseOp, Node caseOpNode, out Node newNode)