11 references to IsStructurallyEqual
System.Data.Entity (11)
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (1)
42
(fromType, toType) => TypeSemantics.
IsStructurallyEqual
(fromType, toType),
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
1275
argTypes.Zip(aggArgTypes).All(types => types.Key == null && types.Value == null || TypeSemantics.
IsStructurallyEqual
(types.Key, types.Value)),
4336
return TypeSemantics.
IsStructurallyEqual
(type1, type2) || type1.IsSubtypeOf(type2) || type2.IsSubtypeOf(type1);
System\Data\Common\EntitySql\SemanticResolver.cs (1)
1064
return TypeSemantics.
IsStructurallyEqual
(fromType, toType);
System\Data\Common\EntitySql\TypeResolver.cs (1)
303
return TypeSemantics.
IsStructurallyEqual
(x, y);
System\Data\Metadata\EdmItemCollection.cs (1)
472
if (!TypeSemantics.
IsStructurallyEqual
(function.ReturnParameter.TypeUsage, generatedDefinition.Body.ResultType))
System\Data\Metadata\TypeSemantics.cs (2)
80
return
IsStructurallyEqual
(fromType, toType) ||
305
return (
IsStructurallyEqual
(fromType, toType) || IsSubTypeOf(fromType, toType) || IsSubTypeOf(toType, fromType));
System\Data\Query\InternalTrees\Ops.cs (1)
539
return (other.OpType == this.OpType && TypeSemantics.
IsStructurallyEqual
(this.Type, other.Type));
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (1)
384
if (md.TypeSemantics.
IsStructurallyEqual
(value.Type, typeInfo.Type))
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
2945
md.TypeSemantics.
IsStructurallyEqual
(arg.Type, op.Type) ||