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)
17
private sealed class EnumeratedValueSetFactory<T> :
IValueSetFactory
<T> where T : notnull
Utilities\ValueSetFactory.FloatingValueSetFactory.cs (1)
11
private sealed class FloatingValueSetFactory<TFloating> :
IValueSetFactory
<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 struct NumericValueSetFactory<T> :
IValueSetFactory
<T>
24 references to IValueSetFactory
Microsoft.CodeAnalysis.CSharp (24)
Binder\DecisionDagBuilder.cs (1)
2254
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 = 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);
23
internal static readonly
IValueSetFactory
<bool> ForBool = BoolValueSetFactory.Instance;
24
internal static readonly
IValueSetFactory
<float> ForFloat = new FloatingValueSetFactory<float>(SingleTC.Instance);
25
internal static readonly
IValueSetFactory
<double> ForDouble = new FloatingValueSetFactory<double>(DoubleTC.Instance);
26
internal static readonly
IValueSetFactory
<string> ForString = new 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 = new NumericValueSetFactory<decimal>(DecimalTC.Instance);
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
17
private static readonly
IValueSetFactory
<int> s_underlying = new NumericValueSetFactory<int>(IntTC.NonNegativeInstance);