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