42 references to False
Microsoft.CodeAnalysis.CSharp (42)
Binder\Binder_Operators.cs (14)
2809return (leftIsNull == rightIsNull) == (op == BinaryOperatorKind.Equal) ? ConstantValue.True : ConstantValue.False; 4797Debug.Assert(constantValue == ConstantValue.True || constantValue == ConstantValue.False); 4807/// - <see cref="ConstantValue.False"/> 4857return ConstantValue.False; 4930return ConstantValue.False; 4940return ConstantValue.False; 4961return ConstantValue.False; 4969return ConstantValue.False; 5008return ConstantValue.False; 5018return ConstantValue.False; 5034return ConstantValue.False; 5049return ConstantValue.False; 5096? ConstantValue.True : ConstantValue.False; 5851else if (conditionValue == ConstantValue.False)
Binder\Binder_Patterns.cs (4)
622if (match == ConstantValue.False || match == ConstantValue.Bad) 769if (matchPossible != ConstantValue.False && matchPossible != ConstantValue.Bad) 799/// - <see cref="ConstantValue.False"/> if it catches none of them 832Debug.Assert(!conversion.IsUserDefined || result == ConstantValue.False || result == ConstantValue.Bad);
Binder\DecisionDagBuilder.cs (1)
1302if (matches == ConstantValue.False)
FlowAnalysis\AbstractFlowPass.cs (1)
682return node.ConstantValueOpt == ConstantValue.False;
FlowAnalysis\NullableWalker_Patterns.cs (1)
647bool isFalseTest = t.Value == ConstantValue.False;
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (13)
289if (loweredLeft.ConstantValueOpt == ConstantValue.False) return loweredLeft; 299if (loweredRight.ConstantValueOpt == ConstantValue.False) return loweredLeft; 300if (loweredLeft.ConstantValueOpt == ConstantValue.False) return loweredRight; 332if (loweredRight.ConstantValueOpt == ConstantValue.False) return loweredLeft; 333if (loweredLeft.ConstantValueOpt == ConstantValue.False) return loweredRight; 342if (loweredLeft.ConstantValueOpt == ConstantValue.False) 345if (loweredRight.ConstantValueOpt == ConstantValue.False) 351if (loweredLeft.ConstantValueOpt == ConstantValue.False) return loweredRight; 352if (loweredRight.ConstantValueOpt == ConstantValue.False) return loweredLeft; 365if (loweredLeft.ConstantValueOpt == ConstantValue.False) return loweredRight; 366if (loweredRight.ConstantValueOpt == ConstantValue.False) return loweredLeft; 633if (testOperator == UnaryOperatorKind.DynamicFalse && constantLeft == ConstantValue.False || 677testOperator == UnaryOperatorKind.DynamicTrue && constantLeft == ConstantValue.False;
Lowering\LocalRewriter\LocalRewriter_ConditionalOperator.cs (1)
56else if (conditionConstantValue == ConstantValue.False)
Lowering\LocalRewriter\LocalRewriter_IsOperator.cs (3)
40return RewriteConstantIsOperator(receiver.Syntax, receiver, ConstantValue.False, rewrittenType); 44return MakeLiteral(syntax, ConstantValue.False, rewrittenType); 86Debug.Assert(constantValue == ConstantValue.True || constantValue == ConstantValue.False);
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (1)
145MakeLiteral(rewrittenArgument.Syntax, ConstantValue.False, boolType),
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (2)
318if (rightHasValue.ConstantValueOpt == ConstantValue.False) 326if (leftHasValue.ConstantValueOpt == ConstantValue.False)
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
91if (constant == ConstantValue.True || constant == ConstantValue.False)