1 instantiation of DecimalTC
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.DecimalTC.cs (1)
17
public static readonly DecimalTC Instance = new
DecimalTC
();
8 references to DecimalTC
Microsoft.CodeAnalysis.CSharp (8)
Utilities\ValueSetFactory.DecimalTC.cs (1)
17
public static readonly
DecimalTC
Instance = new DecimalTC();
Utilities\ValueSetFactory.DecimalValueSetFactory.cs (7)
15
private readonly IValueSetFactory<decimal> _underlying = new NumericValueSetFactory<decimal>(
DecimalTC
.Instance);
17
IValueSet IValueSetFactory.AllValues => NumericValueSet<decimal>.AllValues(
DecimalTC
.Instance);
19
IValueSet IValueSetFactory.NoValues => NumericValueSet<decimal>.NoValues(
DecimalTC
.Instance);
21
public IValueSet<decimal> Related(BinaryOperatorKind relation, decimal value) => _underlying.Related(relation,
DecimalTC
.Normalize(value));
25
ConstantValue IValueSetFactory.RandomValue(Random random) => ConstantValue.Create(
DecimalTC
.Instance.Random(random));
28
value.IsBad ? NumericValueSet<decimal>.AllValues(
DecimalTC
.Instance) : Related(relation,
DecimalTC
.Instance.FromConstantValue(value));