49 references to False
Microsoft.CodeAnalysis.CSharp (40)
Binder\Binder_Operators.cs (12)
1930return (leftIsNull == rightIsNull) == (op == BinaryOperatorKind.Equal) ? ConstantValue.True : ConstantValue.False; 3327Debug.Assert(constantValue == ConstantValue.True || constantValue == ConstantValue.False); 3337/// - <see cref="ConstantValue.False"/> 3387return ConstantValue.False; 3458return ConstantValue.False; 3468return ConstantValue.False; 3509return ConstantValue.False; 3519return ConstantValue.False; 3535return ConstantValue.False; 3550return ConstantValue.False; 3597? ConstantValue.True : ConstantValue.False; 4352else if (conditionValue == ConstantValue.False)
Binder\Binder_Patterns.cs (4)
612if (match == ConstantValue.False || match == ConstantValue.Bad) 759if (matchPossible != ConstantValue.False && matchPossible != ConstantValue.Bad) 789/// - <see cref="ConstantValue.False"/> if it catches none of them 822Debug.Assert(!conversion.IsUserDefined || result == ConstantValue.False || result == ConstantValue.Bad);
Binder\DecisionDagBuilder.cs (1)
1253if (matches == ConstantValue.False)
FlowAnalysis\AbstractFlowPass.cs (1)
676return node.ConstantValueOpt == ConstantValue.False;
FlowAnalysis\NullableWalker_Patterns.cs (1)
607bool isFalseTest = t.Value == ConstantValue.False;
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (13)
280if (loweredLeft.ConstantValueOpt == ConstantValue.False) return loweredLeft; 290if (loweredRight.ConstantValueOpt == ConstantValue.False) return loweredLeft; 291if (loweredLeft.ConstantValueOpt == ConstantValue.False) return loweredRight; 323if (loweredRight.ConstantValueOpt == ConstantValue.False) return loweredLeft; 324if (loweredLeft.ConstantValueOpt == ConstantValue.False) return loweredRight; 333if (loweredLeft.ConstantValueOpt == ConstantValue.False) 336if (loweredRight.ConstantValueOpt == ConstantValue.False) 342if (loweredLeft.ConstantValueOpt == ConstantValue.False) return loweredRight; 343if (loweredRight.ConstantValueOpt == ConstantValue.False) return loweredLeft; 356if (loweredLeft.ConstantValueOpt == ConstantValue.False) return loweredRight; 357if (loweredRight.ConstantValueOpt == ConstantValue.False) return loweredLeft; 624if (testOperator == UnaryOperatorKind.DynamicFalse && constantLeft == ConstantValue.False || 668testOperator == 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)
100MakeLiteral(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)
90if (constant == ConstantValue.True || constant == ConstantValue.False)
Microsoft.CodeAnalysis.VisualBasic (9)
BoundTree\BoundExpressionExtensions.vb (1)
402Return expr.ConstantValueOpt Is ConstantValue.False
CodeGen\EmitStatement.vb (1)
1176_builder.EmitConstantValue(ConstantValue.False)
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (3)
1043Dim result = New BoundLiteral(node.Syntax, ConstantValue.False, node.Type.GetNullableUnderlyingType()) 1333ConstantValue.False), 1339ConstantValue.False,
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (2)
186New BoundLiteral(expr.Syntax, ConstantValue.False, expr.Type.GetNullableUnderlyingType())) 300Return WrapInNullable(New BoundLiteral(syntax, ConstantValue.False, booleanType), nullableOfBoolean)
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (1)
194New BoundLiteral(syntaxNode, ConstantValue.False, boundLockTakenLocal.Type),
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (1)
32Return New BoundLiteral(node.Syntax, ConstantValue.False, node.Type)