15 references to IsScalarType
System.Data.Entity (15)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
191Debug.Assert(TypeSemantics.IsScalarType(e.ResultType), "Non-scalar type constant expressions are not supported.");
System\Data\Common\CommandTrees\ValueExpressions.cs (1)
32Debug.Assert(TypeSemantics.IsScalarType(resultType), "DbConstantExpression must have a primitive or enum value");
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
5035if (!TypeSemantics.IsScalarType(typeToCastTo)) 5048if (!TypeSemantics.IsScalarType(exprToCast.ResultType))
System\Data\EntityClient\EntityCommandDefinition.cs (1)
329Debug.Assert(TypeSemantics.IsScalarType(queryParameter.Value), "Non-scalar type used as query parameter type");
System\Data\Metadata\TypeHelpers.cs (3)
162TypeSemantics.IsScalarType(typeUsage); 170TypeSemantics.IsScalarType(typeUsage); 445Debug.Assert(TypeSemantics.IsScalarType(scalarType), "Primitive or enum type expected.");
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
557if (toType == null || !TypeSemantics.IsScalarType(toType) || !TypeSemantics.IsScalarType(fromType))
System\Data\Objects\ELinq\Funcletizer.cs (1)
295(TypeSemantics.IsScalarType(typeUsage)))
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2332Debug.Assert(TypeSemantics.IsScalarType(element.ResultType), "Primitive or enum type expected at this point.");
System\Data\Objects\ObjectParameter.cs (1)
327(TypeSemantics.IsScalarType(type)))
System\Data\Query\PlanCompiler\VarInfo.cs (2)
317PlanCompiler.Assert(md.TypeSemantics.IsScalarType(v.Type), "The current variable should be of primitive or enum type."); 318PlanCompiler.Assert(md.TypeSemantics.IsScalarType(newVar.Type), "The new variable should be of primitive or enum type.");