Rename ToSpan to AsSpan (#3556)

This commit is contained in:
gdkchan
2022-08-11 18:07:37 -03:00
committed by GitHub
parent f9661a54d2
commit a5ff0024fb
44 changed files with 281 additions and 281 deletions

View File

@@ -22,7 +22,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Sfdnsres.Types
Port = port;
Address = new Array4<byte>();
address.TryWriteBytes(Address.ToSpan(), out _);
address.TryWriteBytes(Address.AsSpan(), out _);
}
public void ToNetworkOrder()
@@ -43,7 +43,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Sfdnsres.Types
{
if (BitConverter.IsLittleEndian)
{
address.ToSpan().Reverse();
address.AsSpan().Reverse();
}
}
}