8 implementations of RandomValue
Microsoft.CodeAnalysis.CSharp (8)
Utilities\ValueSetFactory.BoolValueSetFactory.cs (1)
51
ConstantValue IValueSetFactory.
RandomValue
(Random random) => ConstantValue.Create(random.NextDouble() < 0.5);
Utilities\ValueSetFactory.DecimalValueSetFactory.cs (1)
25
ConstantValue IValueSetFactory.
RandomValue
(Random random) => ConstantValue.Create(DecimalTC.Instance.Random(random));
Utilities\ValueSetFactory.EnumeratedValueSetFactory.cs (1)
58
ConstantValue IValueSetFactory.
RandomValue
(Random random)
Utilities\ValueSetFactory.FloatingValueSetFactory.cs (1)
30
ConstantValue IValueSetFactory.
RandomValue
(Random random)
Utilities\ValueSetFactory.NintValueSetFactory.cs (1)
41
ConstantValue IValueSetFactory.
RandomValue
(Random random) => ConstantValue.CreateNativeInt(IntTC.DefaultInstance.Random(random));
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
55
ConstantValue IValueSetFactory.
RandomValue
(Random random) => s_underlying.RandomValue(random);
Utilities\ValueSetFactory.NuintValueSetFactory.cs (1)
39
ConstantValue IValueSetFactory.
RandomValue
(Random random) => ConstantValue.CreateNativeUInt(UIntTC.Instance.Random(random));
Utilities\ValueSetFactory.NumericValueSetFactory.cs (1)
58
ConstantValue IValueSetFactory.
RandomValue
(Random random)
1 reference to RandomValue
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
55
ConstantValue IValueSetFactory.RandomValue(Random random) => s_underlying.
RandomValue
(random);