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