private bool IsLogicalAnd(IConditional conditional) {
if (conditional.Type.TypeCode == PrimitiveTypeCode.Boolean) {
if (ExpressionHelper.IsIntegralZero(conditional.ResultIfFalse)) return true; // A ? B : false is code-model for conjunction
if (ExpressionHelper.IsIntegralZero(conditional.ResultIfTrue)) return true; // A ? false : B is handled as !(A) && B in the traverser for conditionals
}
return false;
}
private bool IsPrefix(IBinaryOperation binaryOperation) {