10 references to IsBooleanType
System.Data.Entity (10)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (2)
457
!TypeSemantics.
IsBooleanType
(casePredicate.Then[0].ResultType) || !TypeSemantics.
IsBooleanType
(casePredicate.Else.ResultType) ||
System\Data\Common\CommandTrees\OperatorExpressions.cs (5)
276
Debug.Assert(TypeSemantics.
IsBooleanType
(booleanResultType), "DbComparisonExpression result type must be a Boolean type");
314
Debug.Assert(TypeSemantics.
IsBooleanType
(booleanResultType), "DbIsEmptyExpression requires a Boolean result type");
343
Debug.Assert(TypeSemantics.
IsBooleanType
(booleanResultType), "DbIsNullExpression requires a Boolean result type");
375
Debug.Assert(TypeSemantics.
IsBooleanType
(booleanResultType), "DbIsOfExpression requires a Boolean result type");
499
Debug.Assert(TypeSemantics.
IsBooleanType
(booleanResultType), "DbLikeExpression must have a Boolean result type");
System\Data\Objects\ELinq\Translator.cs (2)
1182
if (TypeSemantics.
IsBooleanType
(left.ResultType))
1230
if (TypeSemantics.
IsBooleanType
(operand.ResultType))
System\Data\Query\InternalTrees\Command.cs (1)
616
else if (TypeSemantics.
IsBooleanType
(type))