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