6 implementations of Any
Microsoft.CodeAnalysis.CSharp (6)
Utilities\ValueSetFactory.BoolValueSet.cs (1)
56
bool IValueSet.
Any
(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || Any(relation, value.BooleanValue);
Utilities\ValueSetFactory.EnumeratedValueSet.cs (1)
88
bool IValueSet.
Any
(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || Any(relation, _tc.FromConstantValue(value));
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
138
bool IValueSet.
Any
(BinaryOperatorKind relation, ConstantValue value) =>
Utilities\ValueSetFactory.NintValueSet.cs (1)
85
bool IValueSet.
Any
(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || Any(relation, value.Int32Value);
Utilities\ValueSetFactory.NuintValueSet.cs (1)
72
bool IValueSet.
Any
(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || Any(relation, value.UInt32Value);
Utilities\ValueSetFactory.NumericValueSet.cs (1)
107
bool IValueSet.
Any
(BinaryOperatorKind relation, ConstantValue value) => value.IsBad || Any(relation, _tc.FromConstantValue(value));
3 references to Any
Microsoft.CodeAnalysis.CSharp (3)
Binder\DecisionDagBuilder.cs (2)
1367
trueTestPermitsTrueOther = whenTrueValues?.
Any
(relation, value) ?? true;
1369
falseTestPermitsTrueOther = !sameTest && (whenFalseValues?.
Any
(relation, value) ?? true);
Binder\PatternExplainer.cs (1)
655
remainingValues.
Any
(BinaryOperatorKind.Equal, constantValue))