20 references to IsNullableOfBoolean
Microsoft.CodeAnalysis.VisualBasic (20)
Binding\Binder_Conversions.vb (1)
418
Debug.Assert(argument.Type.
IsNullableOfBoolean
() AndAlso booleanType.IsBooleanType())
Binding\Binder_Operators.vb (1)
733
Debug.Assert(checkCandidate.ReturnType.IsBooleanType() OrElse checkCandidate.ReturnType.
IsNullableOfBoolean
())
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_UnaryOperator.vb (1)
118
Debug.Assert(node.Operand.Type.
IsNullableOfBoolean
())
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (10)
817
If optimizeForConditionalBranch AndAlso node.Type.
IsNullableOfBoolean
() AndAlso left.Type.
IsNullableOfBoolean
() AndAlso right.Type.
IsNullableOfBoolean
() AndAlso
846
If node.Left.Type.
IsNullableOfBoolean
Then
1035
Debug.Assert(node.Type.
IsNullableOfBoolean
())
1036
Debug.Assert(operand.Type.
IsNullableOfBoolean
())
1045
Debug.Assert(operand.Type.
IsNullableOfBoolean
())
1063
Debug.Assert(left.Type.
IsNullableOfBoolean
AndAlso right.Type.
IsNullableOfBoolean
AndAlso node.Type.
IsNullableOfBoolean
)
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (1)
135
If Not testExpressionType.
IsNullableOfBoolean
AndAlso testExpressionType.IsNullableType Then
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (3)
174
If Not _inExpressionLambda AndAlso expr.Type.
IsNullableOfBoolean
() Then
319
Debug.Assert(nullableOfBoolean.
IsNullableOfBoolean
)
325
Debug.Assert(nullableOfBoolean.
IsNullableOfBoolean
)
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (1)
18
Debug.Assert(node.Operand.Type.
IsNullableOfBoolean
())
Operations\VisualBasicOperationFactory.vb (1)
1661
Debug.Assert(boundNullableIsTrueOperator.Operand.Type.
IsNullableOfBoolean
() AndAlso boundNullableIsTrueOperator.Type.IsBooleanType())
Semantics\Conversions.vb (1)
1476
If sourceType.
IsNullableOfBoolean
() Then