8 implementations of IValueSetFactory
Microsoft.CodeAnalysis.CSharp (8)
Utilities\ValueSetFactory.BoolValueSetFactory.cs (1)
18private sealed class BoolValueSetFactory : IValueSetFactory<bool>
Utilities\ValueSetFactory.DecimalValueSetFactory.cs (1)
11private sealed class DecimalValueSetFactory : IValueSetFactory<decimal>, IValueSetFactory
Utilities\ValueSetFactory.EnumeratedValueSetFactory.cs (1)
18private sealed class EnumeratedValueSetFactory<T, TTC> : IValueSetFactory<T> where TTC : struct, IEquatableValueTC<T> where T : notnull
Utilities\ValueSetFactory.FloatingValueSetFactory.cs (1)
11private sealed class FloatingValueSetFactory<TFloating, TFloatingTC> : IValueSetFactory<TFloating> where TFloatingTC : struct, FloatingTC<TFloating>
Utilities\ValueSetFactory.NintValueSetFactory.cs (1)
13private sealed class NintValueSetFactory : IValueSetFactory<int>, IValueSetFactory
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
14private sealed class NonNegativeIntValueSetFactory : IValueSetFactory<int>
Utilities\ValueSetFactory.NuintValueSetFactory.cs (1)
13private sealed class NuintValueSetFactory : IValueSetFactory<uint>, IValueSetFactory
Utilities\ValueSetFactory.NumericValueSetFactory.cs (1)
19private sealed class NumericValueSetFactory<T, TTC> : IValueSetFactory<T> where TTC : struct, INumericTC<T>
24 references to IValueSetFactory
Microsoft.CodeAnalysis.CSharp (24)
Binder\DecisionDagBuilder.cs (1)
2100var 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)
14internal static readonly IValueSetFactory<byte> ForByte = NumericValueSetFactory<byte, ByteTC>.Instance; 15internal static readonly IValueSetFactory<sbyte> ForSByte = NumericValueSetFactory<sbyte, SByteTC>.Instance; 16internal static readonly IValueSetFactory<char> ForChar = NumericValueSetFactory<char, CharTC>.Instance; 17internal static readonly IValueSetFactory<short> ForShort = NumericValueSetFactory<short, ShortTC>.Instance; 18internal static readonly IValueSetFactory<ushort> ForUShort = NumericValueSetFactory<ushort, UShortTC>.Instance; 19internal static readonly IValueSetFactory<int> ForInt = NumericValueSetFactory<int, IntTC>.Instance; 20internal static readonly IValueSetFactory<uint> ForUInt = NumericValueSetFactory<uint, UIntTC>.Instance; 21internal static readonly IValueSetFactory<long> ForLong = NumericValueSetFactory<long, LongTC>.Instance; 22internal static readonly IValueSetFactory<ulong> ForULong = NumericValueSetFactory<ulong, ULongTC>.Instance; 23internal static readonly IValueSetFactory<bool> ForBool = BoolValueSetFactory.Instance; 24internal static readonly IValueSetFactory<float> ForFloat = FloatingValueSetFactory<float, SingleTC>.Instance; 25internal static readonly IValueSetFactory<double> ForDouble = FloatingValueSetFactory<double, DoubleTC>.Instance; 26internal static readonly IValueSetFactory<string> ForString = EnumeratedValueSetFactory<string, StringTC>.Instance; 27internal static readonly IValueSetFactory<decimal> ForDecimal = DecimalValueSetFactory.Instance; 28internal static readonly IValueSetFactory<int> ForNint = NintValueSetFactory.Instance; 29internal static readonly IValueSetFactory<uint> ForNuint = NuintValueSetFactory.Instance; 30internal static readonly IValueSetFactory<int> ForLength = NonNegativeIntValueSetFactory.Instance;
Utilities\ValueSetFactory.DecimalValueSetFactory.cs (1)
15private readonly IValueSetFactory<decimal> _underlying = NumericValueSetFactory<decimal, DecimalTC>.Instance;
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
20private readonly IValueSetFactory<int> _underlying = NumericValueSetFactory<int, NonNegativeIntTC>.Instance;