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)
276Debug.Assert(TypeSemantics.IsBooleanType(booleanResultType), "DbComparisonExpression result type must be a Boolean type"); 314Debug.Assert(TypeSemantics.IsBooleanType(booleanResultType), "DbIsEmptyExpression requires a Boolean result type"); 343Debug.Assert(TypeSemantics.IsBooleanType(booleanResultType), "DbIsNullExpression requires a Boolean result type"); 375Debug.Assert(TypeSemantics.IsBooleanType(booleanResultType), "DbIsOfExpression requires a Boolean result type"); 499Debug.Assert(TypeSemantics.IsBooleanType(booleanResultType), "DbLikeExpression must have a Boolean result type");
System\Data\Objects\ELinq\Translator.cs (2)
1182if (TypeSemantics.IsBooleanType(left.ResultType)) 1230if (TypeSemantics.IsBooleanType(operand.ResultType))
System\Data\Query\InternalTrees\Command.cs (1)
616else if (TypeSemantics.IsBooleanType(type))