10 references to LocalRandom
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Random.cs (10)
486
int result =
LocalRandom
.Next();
495
int result =
LocalRandom
.Next(maxValue);
507
int result =
LocalRandom
.Next(minValue, maxValue);
514
long result =
LocalRandom
.NextInt64();
523
long result =
LocalRandom
.NextInt64(maxValue);
535
long result =
LocalRandom
.NextInt64(minValue, maxValue);
542
float result =
LocalRandom
.NextSingle();
549
double result =
LocalRandom
.NextDouble();
561
LocalRandom
.NextBytes(buffer);
564
public override void NextBytes(Span<byte> buffer) =>
LocalRandom
.NextBytes(buffer);