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:
Kamron Batman 2024-12-08 10:16:34 -08:00 committed by GitHub
parent 51d15d264c
commit c75514cc04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 56 additions and 58 deletions

View file

@ -449,7 +449,7 @@ public partial class NetState : IComparable<NetState>, IValueLinkListNode<NetSta
public void Send(ReadOnlySpan<byte> span)
{
if (span == null || this.CannotSendPackets())
if (span == ReadOnlySpan<byte>.Empty || this.CannotSendPackets())
{
return;
}