Replace obsolete *CryptoServiceProvider objects with Base create methods. Apply Array.Empty<> changes

This commit is contained in:
Cinder
2022-04-19 18:22:05 -05:00
parent 0861e13da8
commit eeec061bdf
13 changed files with 34 additions and 32 deletions

View File

@@ -1914,7 +1914,7 @@ namespace GridProxy
if (ackCount == 0)
{
packet.Header.AppendedAcks = false;
packet.Header.AckList = new uint[0];
packet.Header.AckList = Array.Empty<uint>();
}
}

View File

@@ -546,7 +546,7 @@ public class ClientAO : ProxyPlugin
animate.AnimationList[0].AnimID = animationuuid;
animate.AnimationList[0].StartAnim = run;
animate.PhysicalAvatarEventList = new AgentAnimationPacket.PhysicalAvatarEventListBlock[0];
animate.PhysicalAvatarEventList = Array.Empty<AgentAnimationPacket.PhysicalAvatarEventListBlock>();
//SayToUser("anim " + animname(animationuuid) + " " + run);
proxy.InjectPacket(animate, Direction.Outgoing);

View File

@@ -147,6 +147,7 @@ namespace OpenMetaverse.TestClient
++PendingLogins;
TestClient client = new TestClient(this);
client.Settings.MFA_ENABLED = true;
client.Network.LoginProgress +=
delegate(object sender, LoginProgressEventArgs e)
{