1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 09:48:47 +00:00

refactor: discard GetBits return

This commit is contained in:
Oliver Booth 2023-08-26 18:50:49 +01:00
parent 799e635577
commit cfe70a7923
Signed by: oliverbooth
GPG Key ID: B89D139977693FED

View File

@ -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);