From cfe70a792394edbbe02b04ea3f60468bbee8cc3f Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 26 Aug 2023 18:50:49 +0100 Subject: [PATCH] refactor: discard GetBits return --- X10D/src/IO/DecimalExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/X10D/src/IO/DecimalExtensions.cs b/X10D/src/IO/DecimalExtensions.cs index 1bcf88a..4478e55 100644 --- a/X10D/src/IO/DecimalExtensions.cs +++ b/X10D/src/IO/DecimalExtensions.cs @@ -94,7 +94,7 @@ public static class DecimalExtensions private static void GetBits(decimal value, Span destination) { #if NET5_0_OR_GREATER - decimal.GetBits(value, destination); + _ = decimal.GetBits(value, destination); #else Span buffer = stackalloc byte[16]; MemoryMarshal.Write(buffer, ref value);