use Random.Shared

This commit is contained in:
UbitUmarov
2022-10-16 15:06:36 +01:00
parent 0f3d7f45d9
commit 8895577c80
20 changed files with 63 additions and 85 deletions

View File

@@ -661,7 +661,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
public uint CircuitCode
{
get { return (uint)Util.RandomClass.Next(0,int.MaxValue); }
get { return (uint)Random.Shared.Next(0,int.MaxValue); }
}
public IPEndPoint RemoteEndPoint