2 references to GetInt32
Microsoft.Extensions.Telemetry (1)
Sampling\RandomProbabilisticSampler.cs (1)
55
return RandomNumberGenerator.
GetInt32
(int.MaxValue) < int.MaxValue * probability;
System.Security.Cryptography (1)
System\Security\Cryptography\RandomNumberGenerator.cs (1)
433
destination[i] = choices[
GetInt32
(choices.Length)];