11 references to NumericValueSet
Microsoft.CodeAnalysis.CSharp (11)
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (5)
33return new NumericValueSet<int>(0, value - 1, tc); 37return new NumericValueSet<int>(0, value, tc); 41return new NumericValueSet<int>(Math.Max(0, value + 1), int.MaxValue, tc); 43return new NumericValueSet<int>(Math.Max(0, value), int.MaxValue, tc); 47return new NumericValueSet<int>(value, value, tc);
Utilities\ValueSetFactory.NumericValueSet.cs (1)
27public static NumericValueSet<T> AllValues(INumericTC<T> tc) => new NumericValueSet<T>(tc.MinValue, tc.MaxValue, tc);
Utilities\ValueSetFactory.NumericValueSetFactory.cs (5)
36return new NumericValueSet<T>(_tc.MinValue, _tc.Prev(value), _tc); 38return new NumericValueSet<T>(_tc.MinValue, value, _tc); 42return new NumericValueSet<T>(_tc.Next(value), _tc.MaxValue, _tc); 44return new NumericValueSet<T>(value, _tc.MaxValue, _tc); 46return new NumericValueSet<T>(value, value, _tc);