47 references to False
Microsoft.CodeAnalysis.CSharp (47)
Binder\Binder_Operators.cs (14)
2932return (leftIsNull == rightIsNull) == (op == BinaryOperatorKind.Equal) ? ConstantValue.True : ConstantValue.False; 5046Debug.Assert(constantValue == ConstantValue.True || constantValue == ConstantValue.False); 5056/// - <see cref="ConstantValue.False"/> 5106return ConstantValue.False; 5179return ConstantValue.False; 5189return ConstantValue.False; 5210return ConstantValue.False; 5218return ConstantValue.False; 5257return ConstantValue.False; 5267return ConstantValue.False; 5283return ConstantValue.False; 5298return ConstantValue.False; 5345? ConstantValue.True : ConstantValue.False; 6097else if (conditionValue == ConstantValue.False)
Binder\Binder_Patterns.cs (4)
714if (match == ConstantValue.False || match == ConstantValue.Bad) 928if (matchPossible != ConstantValue.False && matchPossible != ConstantValue.Bad) 984/// - <see cref="ConstantValue.False"/> if it catches none of them 1017Debug.Assert((!conversion.IsUserDefined && !conversion.IsUnion) || result == ConstantValue.False || result == ConstantValue.Bad);
Binder\DecisionDagBuilder.cs (4)
760Tests test = MakeConstantTest(syntax, temp, sense ? ConstantValue.True : ConstantValue.False); 2136if (matches == ConstantValue.False) 2377Debug.Assert((hasValueTest.Value == ConstantValue.True || hasValueTest.Value == ConstantValue.False)); 2378if (hasValueTest.Value == ConstantValue.True || hasValueTest.Value == ConstantValue.False)
FlowAnalysis\AbstractFlowPass.cs (1)
683return node.ConstantValueOpt == ConstantValue.False;
FlowAnalysis\NullableWalker_Patterns.cs (1)
598bool 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)
99if (matches == ConstantValue.False) 271if (matches == ConstantValue.False)