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