From 071423fe8bdd835102966638c3c2b17213b6f052 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Mon, 2 Jun 2025 16:01:08 +1000 Subject: [PATCH] This is polyfilled already --- src/BizHawk.Common/Util.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/BizHawk.Common/Util.cs b/src/BizHawk.Common/Util.cs index 566b1b580e..d8aaab16a8 100644 --- a/src/BizHawk.Common/Util.cs +++ b/src/BizHawk.Common/Util.cs @@ -84,19 +84,11 @@ namespace BizHawk.Common return a.All(kvp => b.TryGetValue(kvp.Key, out var bVal) && comparer.Equals(kvp.Value, bVal)); } -#if NETCOREAPP3_0_OR_GREATER public static string DescribeIsNull(T? obj, [CallerArgumentExpression(nameof(obj))] string? expr = default) -#else - public static string DescribeIsNull(T? obj, string expr) -#endif where T : class => $"{expr} is {(obj is null ? "null" : "not null")}"; -#if NETCOREAPP3_0_OR_GREATER public static string DescribeIsNullValT(T? boxed, [CallerArgumentExpression(nameof(boxed))] string? expr = default) -#else - public static string DescribeIsNullValT(T? boxed, string expr) -#endif where T : struct => $"{expr} is {(boxed is null ? "null" : "not null")}";