48 references to False
Microsoft.CodeAnalysis.CSharp (48)
Binder\Binder_Operators.cs (14)
2932
return (leftIsNull == rightIsNull) == (op == BinaryOperatorKind.Equal) ? ConstantValue.True : ConstantValue.
False
;
5049
Debug.Assert(constantValue == ConstantValue.True || constantValue == ConstantValue.
False
);
5059
/// - <see cref="ConstantValue.
False
"/>
5109
return ConstantValue.
False
;
5182
return ConstantValue.
False
;
5192
return ConstantValue.
False
;
5213
return ConstantValue.
False
;
5221
return ConstantValue.
False
;
5260
return ConstantValue.
False
;
5270
return ConstantValue.
False
;
5286
return ConstantValue.
False
;
5301
return ConstantValue.
False
;
5348
? ConstantValue.True : ConstantValue.
False
;
6100
else if (conditionValue == ConstantValue.
False
)
Binder\Binder_Patterns.cs (5)
1120
if (match == ConstantValue.
False
|| match == ConstantValue.Bad)
1341
if (matchPossible != ConstantValue.
False
&& matchPossible != ConstantValue.Bad)
1385
if (matchPossible != ConstantValue.
False
&& matchPossible != ConstantValue.Bad)
1398
/// - <see cref="ConstantValue.
False
"/> if it catches none of them
1431
Debug.Assert((!conversion.IsUserDefined && !conversion.IsUnion) || result == ConstantValue.
False
|| result == ConstantValue.Bad);
Binder\DecisionDagBuilder.cs (4)
752
Tests test = MakeConstantTest(syntax, temp, sense ? ConstantValue.True : ConstantValue.
False
);
2109
if (matches == ConstantValue.
False
)
2350
Debug.Assert((hasValueTest.Value == ConstantValue.True || hasValueTest.Value == ConstantValue.
False
));
2351
if (hasValueTest.Value == ConstantValue.True || hasValueTest.Value == ConstantValue.
False
)
FlowAnalysis\AbstractFlowPass.cs (1)
683
return node.ConstantValueOpt == ConstantValue.
False
;
FlowAnalysis\NullableWalker_Patterns.cs (1)
596
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)
324
if (rightHasValue.ConstantValueOpt == ConstantValue.
False
)
332
if (leftHasValue.ConstantValueOpt == ConstantValue.
False
)
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
91
if (constant == ConstantValue.True || constant == ConstantValue.
False
)
Utilities\TypeUnionValueSet.cs (2)
98
if (matches == ConstantValue.
False
)
248
if (matches == ConstantValue.
False
)