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