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
|
|
@ -138,7 +138,7 @@ public readonly struct Serial : IComparable<Serial>, IComparable<uint>,
|
|||
|
||||
public bool TryFormat(
|
||||
Span<char> destination, out int charsWritten, ReadOnlySpan<char> format, IFormatProvider provider
|
||||
) => format != null
|
||||
) => format != ReadOnlySpan<char>.Empty
|
||||
? Value.TryFormat(destination, out charsWritten, format, provider)
|
||||
: destination.TryWrite(provider, $"0x{Value:X8}", out charsWritten);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue