4 instantiations of XoshiroImpl
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Random.cs (2)
33
_impl = GetType() == typeof(Random) ? new
XoshiroImpl
() : new Net5CompatDerivedImpl(this);
383
private static XoshiroImpl Create() => t_random =
new
();
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.HillClimbing.cs (1)
75
private readonly Random.XoshiroImpl _randomIntervalGenerator = new Random.
XoshiroImpl
();
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1030
public readonly Random.XoshiroImpl random = new Random.
XoshiroImpl
();
7 references to XoshiroImpl
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Random.cs (3)
376
private static
XoshiroImpl
? t_random;
380
private static
XoshiroImpl
LocalRandom => t_random ?? Create();
383
private static
XoshiroImpl
Create() => t_random = new();
src\libraries\System.Private.CoreLib\src\System\Random.ImplBase.cs (2)
39
internal static uint NextUInt32(uint maxValue,
XoshiroImpl
xoshiro)
59
internal static ulong NextUInt64(ulong maxValue,
XoshiroImpl
xoshiro)
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.HillClimbing.cs (1)
75
private readonly Random.
XoshiroImpl
_randomIntervalGenerator = new Random.XoshiroImpl();
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1030
public readonly Random.
XoshiroImpl
random = new Random.XoshiroImpl();