19 references to IsBooleanType
Microsoft.CodeAnalysis (19)
Operations\ControlFlowGraphBuilder.cs (18)
2170
if (ITypeSymbolHelpers.
IsBooleanType
(operation.Type) &&
2171
ITypeSymbolHelpers.
IsBooleanType
(operation.LeftOperand.Type) &&
2172
ITypeSymbolHelpers.
IsBooleanType
(operation.RightOperand.Type))
2265
ITypeSymbolHelpers.
IsBooleanType
(operation.Type) &&
2266
ITypeSymbolHelpers.
IsBooleanType
(operation.Operand.Type);
2488
if (ITypeSymbolHelpers.
IsBooleanType
(left.Type))
2498
(ITypeSymbolHelpers.
IsBooleanType
(unaryOperatorMethod.ReturnType) &&
2602
if (unaryOperatorMethod != null && ITypeSymbolHelpers.
IsBooleanType
(unaryOperatorMethod.ReturnType))
2704
Debug.Assert(ITypeSymbolHelpers.
IsBooleanType
(condition.Type));
2753
ITypeSymbolHelpers.
IsBooleanType
(binOp.Type) &&
2754
ITypeSymbolHelpers.
IsBooleanType
(binOp.LeftOperand.Type) &&
2755
ITypeSymbolHelpers.
IsBooleanType
(binOp.RightOperand.Type);
2866
if (ITypeSymbolHelpers.
IsBooleanType
(condition.Type))
2871
if (ITypeSymbolHelpers.
IsBooleanType
(conditional.WhenTrue.Type) &&
2872
ITypeSymbolHelpers.
IsBooleanType
(conditional.WhenFalse.Type))
2891
if (ITypeSymbolHelpers.
IsBooleanType
(condition.Type))
2895
if (ITypeSymbolHelpers.
IsBooleanType
(coalesce.WhenNull.Type))
3314
Debug.Assert(ITypeSymbolHelpers.
IsBooleanType
(booleanType));
Symbols\ITypeSymbol.cs (1)
210
return IsNullableType(type) &&
IsBooleanType
(GetNullableUnderlyingType(type));