18 instantiations of NumericValueSetFactory
Microsoft.CodeAnalysis.CSharp (18)
Utilities\ValueSetFactory.cs (9)
14
internal static readonly IValueSetFactory<byte> ForByte = new
NumericValueSetFactory
<byte>(ByteTC.Instance);
15
internal static readonly IValueSetFactory<sbyte> ForSByte = new
NumericValueSetFactory
<sbyte>(SByteTC.Instance);
16
internal static readonly IValueSetFactory<char> ForChar = new
NumericValueSetFactory
<char>(CharTC.Instance);
17
internal static readonly IValueSetFactory<short> ForShort = new
NumericValueSetFactory
<short>(ShortTC.Instance);
18
internal static readonly IValueSetFactory<ushort> ForUShort = new
NumericValueSetFactory
<ushort>(UShortTC.Instance);
19
internal static readonly IValueSetFactory<int> ForInt = new
NumericValueSetFactory
<int>(IntTC.DefaultInstance);
20
internal static readonly IValueSetFactory<uint> ForUInt = new
NumericValueSetFactory
<uint>(UIntTC.Instance);
21
internal static readonly IValueSetFactory<long> ForLong = new
NumericValueSetFactory
<long>(LongTC.Instance);
22
internal static readonly IValueSetFactory<ulong> ForULong = new
NumericValueSetFactory
<ulong>(ULongTC.Instance);
Utilities\ValueSetFactory.DecimalValueSetFactory.cs (1)
15
private readonly IValueSetFactory<decimal> _underlying = new
NumericValueSetFactory
<decimal>(DecimalTC.Instance);
Utilities\ValueSetFactory.FloatingValueSet.cs (2)
46
numbers: (IValueSet<TFloating>)new
NumericValueSetFactory
<TFloating>(tc).Random(expectedSize, random), hasNaN: hasNan, tc);
92
numbers: new
NumericValueSetFactory
<TFloating>(tc).Related(relation, value),
Utilities\ValueSetFactory.NintValueSetFactory.cs (2)
27
values: new
NumericValueSetFactory
<int>(IntTC.DefaultInstance).Related(relation, value),
36
values: (IValueSet<int>)new
NumericValueSetFactory
<int>(IntTC.DefaultInstance).Random(expectedSize, random),
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
17
private static readonly IValueSetFactory<int> s_underlying = new
NumericValueSetFactory
<int>(IntTC.NonNegativeInstance);
Utilities\ValueSetFactory.NuintValueSetFactory.cs (2)
26
values: new
NumericValueSetFactory
<uint>(UIntTC.Instance).Related(relation, value),
34
values: (IValueSet<uint>)new
NumericValueSetFactory
<uint>(UIntTC.Instance).Random(expectedSize, random),
Utilities\ValueSetFactory.NumericValueSet.cs (1)
64
var gz = new
NumericValueSetFactory
<T>(_tc).Related(BinaryOperatorKind.GreaterThanOrEqual, _tc.Zero);