System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (20)
456private IEnumerable<PropertyRef> GetPropertyRefsForComparisonAndIsNull(TypeInfo typeInfo, OperationKind opKind)
458PlanCompiler.Assert(opKind == OperationKind.IsNull || opKind == OperationKind.Equality,
466if (opKind == OperationKind.IsNull && typeInfo.HasNullSentinelProperty)
493if (opKind == OperationKind.Equality ||
494(opKind == OperationKind.IsNull && !typeInfo.HasTypeIdProperty))
511PlanCompiler.Assert(opKind == OperationKind.IsNull, "complex types not equality-comparable");
536private IEnumerable<PropertyRef> GetPropertyRefs(TypeInfo typeInfo, OperationKind opKind)
538PlanCompiler.Assert(opKind != OperationKind.All, "unexpected attempt to GetPropertyRefs(...,OperationKind.All)");
539if (opKind == OperationKind.GetKeys)
543else if (opKind == OperationKind.GetIdentity)
584private IEnumerable<md.EdmProperty> GetProperties(TypeInfo typeInfo, OperationKind opKind)
586if (opKind == OperationKind.All)
614private void GetPropertyValues(TypeInfo typeInfo, OperationKind opKind, Node input, bool ignoreMissingProperties,
2147GetPropertyValues(child0TypeInfo, OperationKind.Equality, n.Child0, false, out properties1, out values1);
2148GetPropertyValues(child1TypeInfo, OperationKind.Equality, n.Child1, false, out properties2, out values2);
2214GetPropertyValues(typeInfo, OperationKind.IsNull, n.Child0, false, out properties, out values);
2299GetPropertyValues(inputTypeInfo, OperationKind.GetKeys, n.Child0, false /* ignore missing props */, out inputFieldTypes, out inputFieldValues);
2305GetPropertyValues(inputTypeInfo, OperationKind.GetIdentity, n.Child0, false, out inputFieldTypes, out inputFieldValues);
2445GetPropertyValues(inputTypeInfo, OperationKind.All, n.Child0, false, out inputFields, out inputFieldValues);