42 references to False
Microsoft.CodeAnalysis.CSharp (42)
Binder\Binder_Operators.cs (14)
2809
return (leftIsNull == rightIsNull) == (op == BinaryOperatorKind.Equal) ? ConstantValue.True : ConstantValue.
False
;
4797
Debug.Assert(constantValue == ConstantValue.True || constantValue == ConstantValue.
False
);
4807
/// - <see cref="ConstantValue.
False
"/>
4857
return ConstantValue.
False
;
4930
return ConstantValue.
False
;
4940
return ConstantValue.
False
;
4961
return ConstantValue.
False
;
4969
return ConstantValue.
False
;
5008
return ConstantValue.
False
;
5018
return ConstantValue.
False
;
5034
return ConstantValue.
False
;
5049
return ConstantValue.
False
;
5096
? ConstantValue.True : ConstantValue.
False
;
5851
else if (conditionValue == ConstantValue.
False
)
Binder\Binder_Patterns.cs (4)
622
if (match == ConstantValue.
False
|| match == ConstantValue.Bad)
769
if (matchPossible != ConstantValue.
False
&& matchPossible != ConstantValue.Bad)
799
/// - <see cref="ConstantValue.
False
"/> if it catches none of them
832
Debug.Assert(!conversion.IsUserDefined || result == ConstantValue.
False
|| result == ConstantValue.Bad);
Binder\DecisionDagBuilder.cs (1)
1302
if (matches == ConstantValue.
False
)
FlowAnalysis\AbstractFlowPass.cs (1)
682
return node.ConstantValueOpt == ConstantValue.
False
;
FlowAnalysis\NullableWalker_Patterns.cs (1)
647
bool isFalseTest = t.Value == ConstantValue.
False
;
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (13)
289
if (loweredLeft.ConstantValueOpt == ConstantValue.
False
) return loweredLeft;
299
if (loweredRight.ConstantValueOpt == ConstantValue.
False
) return loweredLeft;
300
if (loweredLeft.ConstantValueOpt == ConstantValue.
False
) return loweredRight;
332
if (loweredRight.ConstantValueOpt == ConstantValue.
False
) return loweredLeft;
333
if (loweredLeft.ConstantValueOpt == ConstantValue.
False
) return loweredRight;
342
if (loweredLeft.ConstantValueOpt == ConstantValue.
False
)
345
if (loweredRight.ConstantValueOpt == ConstantValue.
False
)
351
if (loweredLeft.ConstantValueOpt == ConstantValue.
False
) return loweredRight;
352
if (loweredRight.ConstantValueOpt == ConstantValue.
False
) return loweredLeft;
365
if (loweredLeft.ConstantValueOpt == ConstantValue.
False
) return loweredRight;
366
if (loweredRight.ConstantValueOpt == ConstantValue.
False
) return loweredLeft;
633
if (testOperator == UnaryOperatorKind.DynamicFalse && constantLeft == ConstantValue.
False
||
677
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)
145
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)
91
if (constant == ConstantValue.True || constant == ConstantValue.
False
)