10 references to LocalRandom
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Random.cs (10)
387
int result =
LocalRandom
.Next();
396
int result =
LocalRandom
.Next(maxValue);
408
int result =
LocalRandom
.Next(minValue, maxValue);
415
long result =
LocalRandom
.NextInt64();
424
long result =
LocalRandom
.NextInt64(maxValue);
436
long result =
LocalRandom
.NextInt64(minValue, maxValue);
443
float result =
LocalRandom
.NextSingle();
450
double result =
LocalRandom
.NextDouble();
462
LocalRandom
.NextBytes(buffer);
465
public override void NextBytes(Span<byte> buffer) =>
LocalRandom
.NextBytes(buffer);