48 references to False
Microsoft.CodeAnalysis.CSharp (48)
Binder\Binder_Operators.cs (14)
2932return (leftIsNull == rightIsNull) == (op == BinaryOperatorKind.Equal) ? ConstantValue.True : ConstantValue.False; 5049Debug.Assert(constantValue == ConstantValue.True || constantValue == ConstantValue.False); 5059/// - <see cref="ConstantValue.False"/> 5109return ConstantValue.False; 5182return ConstantValue.False; 5192return ConstantValue.False; 5213return ConstantValue.False; 5221return ConstantValue.False; 5260return ConstantValue.False; 5270return ConstantValue.False; 5286return ConstantValue.False; 5301return ConstantValue.False; 5348? ConstantValue.True : ConstantValue.False; 6100else if (conditionValue == ConstantValue.False)
Binder\Binder_Patterns.cs (5)
1120if (match == ConstantValue.False || match == ConstantValue.Bad) 1341if (matchPossible != ConstantValue.False && matchPossible != ConstantValue.Bad) 1385if (matchPossible != ConstantValue.False && matchPossible != ConstantValue.Bad) 1398/// - <see cref="ConstantValue.False"/> if it catches none of them 1431Debug.Assert((!conversion.IsUserDefined && !conversion.IsUnion) || result == ConstantValue.False || result == ConstantValue.Bad);
Binder\DecisionDagBuilder.cs (4)
752Tests test = MakeConstantTest(syntax, temp, sense ? ConstantValue.True : ConstantValue.False); 2109if (matches == ConstantValue.False) 2350Debug.Assert((hasValueTest.Value == ConstantValue.True || hasValueTest.Value == ConstantValue.False)); 2351if (hasValueTest.Value == ConstantValue.True || hasValueTest.Value == ConstantValue.False)
FlowAnalysis\AbstractFlowPass.cs (1)
683return node.ConstantValueOpt == ConstantValue.False;
FlowAnalysis\NullableWalker_Patterns.cs (1)
596bool 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)
324if (rightHasValue.ConstantValueOpt == ConstantValue.False) 332if (leftHasValue.ConstantValueOpt == ConstantValue.False)
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
91if (constant == ConstantValue.True || constant == ConstantValue.False)
Utilities\TypeUnionValueSet.cs (2)
98if (matches == ConstantValue.False) 248if (matches == ConstantValue.False)