48 references to False
Microsoft.CodeAnalysis.CSharp (48)
Binder\Binder_Operators.cs (14)
2932return (leftIsNull == rightIsNull) == (op == BinaryOperatorKind.Equal) ? ConstantValue.True : ConstantValue.False; 5022Debug.Assert(constantValue == ConstantValue.True || constantValue == ConstantValue.False); 5032/// - <see cref="ConstantValue.False"/> 5082return ConstantValue.False; 5155return ConstantValue.False; 5165return ConstantValue.False; 5186return ConstantValue.False; 5194return ConstantValue.False; 5233return ConstantValue.False; 5243return ConstantValue.False; 5259return ConstantValue.False; 5274return ConstantValue.False; 5321? ConstantValue.True : ConstantValue.False; 6073else if (conditionValue == ConstantValue.False)
Binder\Binder_Patterns.cs (5)
879if (match == ConstantValue.False || match == ConstantValue.Bad) 1100if (matchPossible != ConstantValue.False && matchPossible != ConstantValue.Bad) 1144if (matchPossible != ConstantValue.False && matchPossible != ConstantValue.Bad) 1157/// - <see cref="ConstantValue.False"/> if it catches none of them 1190Debug.Assert((!conversion.IsUserDefined && !conversion.IsUnion) || result == ConstantValue.False || result == ConstantValue.Bad);
Binder\DecisionDagBuilder.cs (4)
758Tests test = MakeConstantTest(syntax, temp, sense ? ConstantValue.True : ConstantValue.False); 2082if (matches == ConstantValue.False) 2323Debug.Assert((hasValueTest.Value == ConstantValue.True || hasValueTest.Value == ConstantValue.False)); 2324if (hasValueTest.Value == ConstantValue.True || hasValueTest.Value == ConstantValue.False)
FlowAnalysis\AbstractFlowPass.cs (1)
683return node.ConstantValueOpt == ConstantValue.False;
FlowAnalysis\NullableWalker_Patterns.cs (1)
594bool 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; 634if (testOperator == UnaryOperatorKind.DynamicFalse && constantLeft == ConstantValue.False || 678testOperator == 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)
323if (rightHasValue.ConstantValueOpt == ConstantValue.False) 331if (leftHasValue.ConstantValueOpt == ConstantValue.False)
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
91if (constant == ConstantValue.True || constant == ConstantValue.False)
Utilities\TypeUnionValueSet.cs (2)
85if (matches == ConstantValue.False) 235if (matches == ConstantValue.False)