8 implementations of IValueSetFactory
Microsoft.CodeAnalysis.CSharp (8)
Utilities\ValueSetFactory.BoolValueSetFactory.cs (1)
18
private sealed class BoolValueSetFactory :
IValueSetFactory
<bool>
Utilities\ValueSetFactory.DecimalValueSetFactory.cs (1)
11
private sealed class DecimalValueSetFactory :
IValueSetFactory
<decimal>, IValueSetFactory
Utilities\ValueSetFactory.EnumeratedValueSetFactory.cs (1)
18
private sealed class EnumeratedValueSetFactory<T, TTC> :
IValueSetFactory
<T> where TTC : struct, IEquatableValueTC<T> where T : notnull
Utilities\ValueSetFactory.FloatingValueSetFactory.cs (1)
11
private sealed class FloatingValueSetFactory<TFloating, TFloatingTC> :
IValueSetFactory
<TFloating> where TFloatingTC : struct, FloatingTC<TFloating>
Utilities\ValueSetFactory.NintValueSetFactory.cs (1)
13
private sealed class NintValueSetFactory :
IValueSetFactory
<int>, IValueSetFactory
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
14
private sealed class NonNegativeIntValueSetFactory :
IValueSetFactory
<int>
Utilities\ValueSetFactory.NuintValueSetFactory.cs (1)
13
private sealed class NuintValueSetFactory :
IValueSetFactory
<uint>, IValueSetFactory
Utilities\ValueSetFactory.NumericValueSetFactory.cs (1)
19
private sealed class NumericValueSetFactory<T, TTC> :
IValueSetFactory
<T> where TTC : struct, INumericTC<T>
24 references to IValueSetFactory
Microsoft.CodeAnalysis.CSharp (24)
Binder\DecisionDagBuilder.cs (1)
2100
var
fac = ValueSetFactory.ForLength;
Utilities\IValueSet.cs (4)
19
/// Return the intersection of this value set with another. Both must have been created with the same <see cref="
IValueSetFactory
{T}"/>.
24
/// Return this union of this value set with another. Both must have been created with the same <see cref="
IValueSetFactory
{T}"/>.
68
/// Return the intersection of this value set with another. Both must have been created with the same <see cref="
IValueSetFactory
{T}"/>.
73
/// Return this union of this value set with another. Both must have been created with the same <see cref="
IValueSetFactory
{T}"/>.
Utilities\ValueSetFactory.cs (17)
14
internal static readonly
IValueSetFactory
<byte> ForByte = NumericValueSetFactory<byte, ByteTC>.Instance;
15
internal static readonly
IValueSetFactory
<sbyte> ForSByte = NumericValueSetFactory<sbyte, SByteTC>.Instance;
16
internal static readonly
IValueSetFactory
<char> ForChar = NumericValueSetFactory<char, CharTC>.Instance;
17
internal static readonly
IValueSetFactory
<short> ForShort = NumericValueSetFactory<short, ShortTC>.Instance;
18
internal static readonly
IValueSetFactory
<ushort> ForUShort = NumericValueSetFactory<ushort, UShortTC>.Instance;
19
internal static readonly
IValueSetFactory
<int> ForInt = NumericValueSetFactory<int, IntTC>.Instance;
20
internal static readonly
IValueSetFactory
<uint> ForUInt = NumericValueSetFactory<uint, UIntTC>.Instance;
21
internal static readonly
IValueSetFactory
<long> ForLong = NumericValueSetFactory<long, LongTC>.Instance;
22
internal static readonly
IValueSetFactory
<ulong> ForULong = NumericValueSetFactory<ulong, ULongTC>.Instance;
23
internal static readonly
IValueSetFactory
<bool> ForBool = BoolValueSetFactory.Instance;
24
internal static readonly
IValueSetFactory
<float> ForFloat = FloatingValueSetFactory<float, SingleTC>.Instance;
25
internal static readonly
IValueSetFactory
<double> ForDouble = FloatingValueSetFactory<double, DoubleTC>.Instance;
26
internal static readonly
IValueSetFactory
<string> ForString = EnumeratedValueSetFactory<string, StringTC>.Instance;
27
internal static readonly
IValueSetFactory
<decimal> ForDecimal = DecimalValueSetFactory.Instance;
28
internal static readonly
IValueSetFactory
<int> ForNint = NintValueSetFactory.Instance;
29
internal static readonly
IValueSetFactory
<uint> ForNuint = NuintValueSetFactory.Instance;
30
internal static readonly
IValueSetFactory
<int> ForLength = NonNegativeIntValueSetFactory.Instance;
Utilities\ValueSetFactory.DecimalValueSetFactory.cs (1)
15
private readonly
IValueSetFactory
<decimal> _underlying = NumericValueSetFactory<decimal, DecimalTC>.Instance;
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
20
private readonly
IValueSetFactory
<int> _underlying = NumericValueSetFactory<int, NonNegativeIntTC>.Instance;