10 references to LocalRandom
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Random.cs (10)
488
int result =
LocalRandom
.Next();
497
int result =
LocalRandom
.Next(maxValue);
509
int result =
LocalRandom
.Next(minValue, maxValue);
516
long result =
LocalRandom
.NextInt64();
525
long result =
LocalRandom
.NextInt64(maxValue);
537
long result =
LocalRandom
.NextInt64(minValue, maxValue);
544
float result =
LocalRandom
.NextSingle();
551
double result =
LocalRandom
.NextDouble();
563
LocalRandom
.NextBytes(buffer);
566
public override void NextBytes(Span<byte> buffer) =>
LocalRandom
.NextBytes(buffer);