mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 03:38:46 +00:00
refactor: discard GetBits return
This commit is contained in:
parent
799e635577
commit
cfe70a7923
@ -94,7 +94,7 @@ public static class DecimalExtensions
|
||||
private static void GetBits(decimal value, Span<int> destination)
|
||||
{
|
||||
#if NET5_0_OR_GREATER
|
||||
decimal.GetBits(value, destination);
|
||||
_ = decimal.GetBits(value, destination);
|
||||
#else
|
||||
Span<byte> buffer = stackalloc byte[16];
|
||||
MemoryMarshal.Write(buffer, ref value);
|
||||
|
Loading…
Reference in New Issue
Block a user