42 references to False
Microsoft.CodeAnalysis.CSharp (42)
Binder\Binder_Operators.cs (14)
2942
return (leftIsNull == rightIsNull) == (op == BinaryOperatorKind.Equal) ? ConstantValue.True : ConstantValue.
False
;
4975
Debug.Assert(constantValue == ConstantValue.True || constantValue == ConstantValue.
False
);
4985
/// - <see cref="ConstantValue.
False
"/>
5035
return ConstantValue.
False
;
5108
return ConstantValue.
False
;
5118
return ConstantValue.
False
;
5139
return ConstantValue.
False
;
5147
return ConstantValue.
False
;
5186
return ConstantValue.
False
;
5196
return ConstantValue.
False
;
5212
return ConstantValue.
False
;
5227
return ConstantValue.
False
;
5274
? ConstantValue.True : ConstantValue.
False
;
6027
else if (conditionValue == ConstantValue.
False
)
Binder\Binder_Patterns.cs (4)
633
if (match == ConstantValue.
False
|| match == ConstantValue.Bad)
780
if (matchPossible != ConstantValue.
False
&& matchPossible != ConstantValue.Bad)
810
/// - <see cref="ConstantValue.
False
"/> if it catches none of them
843
Debug.Assert(!conversion.IsUserDefined || result == ConstantValue.
False
|| result == ConstantValue.Bad);
Binder\DecisionDagBuilder.cs (1)
1350
if (matches == ConstantValue.
False
)
FlowAnalysis\AbstractFlowPass.cs (1)
682
return node.ConstantValueOpt == ConstantValue.
False
;
FlowAnalysis\NullableWalker_Patterns.cs (1)
649
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;
634
if (testOperator == UnaryOperatorKind.DynamicFalse && constantLeft == ConstantValue.
False
||
678
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
)