feat: Updates to .NET 9 (#1984)
### Summary * Bumps to .NET 9 with updated dependencies * Comparing a value type against null is no longer allowed * CI/CD now uses the version specified in global.json * Serialization generator updated to .NET 9 with bug fixes, fixes to turkish language, and parallelization
This commit is contained in:
parent
51d15d264c
commit
c75514cc04
24 changed files with 56 additions and 58 deletions
|
|
@ -66,7 +66,7 @@ public class ArtData : IDisposable
|
|||
|
||||
Span<ushort> buffer = stackalloc ushort[entry.Size / 2];
|
||||
_dataStream.Seek(entry.Offset, SeekOrigin.Begin);
|
||||
_dataStream.Read(MemoryMarshal.AsBytes(buffer));
|
||||
_ = _dataStream.Read(MemoryMarshal.AsBytes(buffer));
|
||||
|
||||
var width = buffer[2];
|
||||
var height = buffer[3];
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ public static class UOClient
|
|||
{
|
||||
using FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
var buffer = GC.AllocateUninitializedArray<byte>((int)fs.Length, true);
|
||||
fs.Read(buffer);
|
||||
_ = fs.Read(buffer);
|
||||
// VS_VERSION_INFO (unicode)
|
||||
Span<byte> vsVersionInfo = stackalloc byte[]
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue