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