11 references to MakeBooleanConstant
Microsoft.CodeAnalysis.CSharp (11)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (6)
880BoundExpression falseExpr = MakeBooleanConstant(syntax, operatorKind == BinaryOperatorKind.NotEqual); 922return MakeBooleanConstant(syntax, true); 1274BoundExpression alternative = MakeBooleanConstant(syntax, operatorKind == BinaryOperatorKind.NotEqual); 1652MakeBooleanConstant(syntax, value.GetValueOrDefault())); 1966value: MakeBooleanConstant(syntax, kind == BinaryOperatorKind.NullableNullNotEqual), 1982var whenNull = kind == BinaryOperatorKind.NullableNullEqual ? MakeBooleanConstant(syntax, true) : null;
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (5)
342_factory.Conditional(leftHasValue, innerSequence, MakeBooleanConstant(right.Syntax, boolValue), boolType), 343MakeBooleanConstant(right.Syntax, !boolValue), 359hasValue = MakeBooleanConstant(expr.Syntax, true); 369hasValue = MakeBooleanConstant(expr.Syntax, false); 378hasValue = MakeBooleanConstant(expr.Syntax, true);