8 implementations of Random
Microsoft.CodeAnalysis.CSharp (8)
Utilities\ValueSetFactory.BoolValueSetFactory.cs (1)
42IValueSet IValueSetFactory.Random(int expectedSize, Random random) => random.Next(4) switch
Utilities\ValueSetFactory.DecimalValueSetFactory.cs (1)
23IValueSet IValueSetFactory.Random(int expectedSize, Random random) => _underlying.Random(expectedSize, random);
Utilities\ValueSetFactory.EnumeratedValueSetFactory.cs (1)
47public IValueSet Random(int expectedSize, Random random)
Utilities\ValueSetFactory.FloatingValueSetFactory.cs (1)
27IValueSet IValueSetFactory.Random(int expectedSize, Random random) =>
Utilities\ValueSetFactory.NintValueSetFactory.cs (1)
32IValueSet IValueSetFactory.Random(int expectedSize, Random random)
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
53IValueSet IValueSetFactory.Random(int expectedSize, Random random) => s_underlying.Random(expectedSize, random);
Utilities\ValueSetFactory.NuintValueSetFactory.cs (1)
31IValueSet IValueSetFactory.Random(int expectedSize, Random random)
Utilities\ValueSetFactory.NumericValueSetFactory.cs (1)
55public IValueSet Random(int expectedSize, Random random) =>
6 references to Random
Microsoft.CodeAnalysis.CSharp (2)
Utilities\ValueSetFactory.DecimalValueSetFactory.cs (1)
23IValueSet IValueSetFactory.Random(int expectedSize, Random random) => _underlying.Random(expectedSize, random);
Utilities\ValueSetFactory.NonNegativeIntValueSetFactory.cs (1)
53IValueSet IValueSetFactory.Random(int expectedSize, Random random) => s_underlying.Random(expectedSize, random);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Utilities\ValueSetTests.cs (4)
603var s1 = fac.Random(10, Random); 604var s2 = fac.Random(10, Random); 657var s1 = ForString.Random(9, Random); 658var s2 = ForString.Random(11, Random);