11 references to NumericValueSet
Microsoft.CodeAnalysis.CSharp (11)
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (5)
33return new NumericValueSet<int, NonNegativeIntTC>(0, value - 1); 37return new NumericValueSet<int, NonNegativeIntTC>(0, value); 41return new NumericValueSet<int, NonNegativeIntTC>(Math.Max(0, value + 1), int.MaxValue); 43return new NumericValueSet<int, NonNegativeIntTC>(Math.Max(0, value), int.MaxValue); 47return new NumericValueSet<int, NonNegativeIntTC>(value, value);
Utilities\ValueSetFactory.NumericValueSet.cs (1)
26public static readonly NumericValueSet<T, TTC> AllValues = new NumericValueSet<T, TTC>(default(TTC).MinValue, default(TTC).MaxValue);
Utilities\ValueSetFactory.NumericValueSetFactory.cs (5)
37return new NumericValueSet<T, TTC>(tc.MinValue, tc.Prev(value)); 39return new NumericValueSet<T, TTC>(tc.MinValue, value); 43return new NumericValueSet<T, TTC>(tc.Next(value), tc.MaxValue); 45return new NumericValueSet<T, TTC>(value, tc.MaxValue); 47return new NumericValueSet<T, TTC>(value, value);