10 references to LocalRandom
System.Private.CoreLib (10)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Random.cs (10)
774
int result =
LocalRandom
.Next();
783
int result =
LocalRandom
.Next(maxValue);
795
int result =
LocalRandom
.Next(minValue, maxValue);
802
long result =
LocalRandom
.NextInt64();
811
long result =
LocalRandom
.NextInt64(maxValue);
823
long result =
LocalRandom
.NextInt64(minValue, maxValue);
830
float result =
LocalRandom
.NextSingle();
837
double result =
LocalRandom
.NextDouble();
849
LocalRandom
.NextBytes(buffer);
852
public override void NextBytes(Span<byte> buffer) =>
LocalRandom
.NextBytes(buffer);