From fa124a0afc0a4380a948ef0cd5faa9b816c7ebe1 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Mon, 11 Feb 2019 12:13:56 -0500 Subject: [PATCH] refactor: Resolving warning --- ICD.Common.Utils/Json/AbstractGenericJsonConverter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ICD.Common.Utils/Json/AbstractGenericJsonConverter.cs b/ICD.Common.Utils/Json/AbstractGenericJsonConverter.cs index e1bc3c1..e5a84e9 100644 --- a/ICD.Common.Utils/Json/AbstractGenericJsonConverter.cs +++ b/ICD.Common.Utils/Json/AbstractGenericJsonConverter.cs @@ -48,7 +48,9 @@ namespace ICD.Common.Utils.Json if (serializer == null) throw new ArgumentNullException("serializer"); +// ReSharper disable CompareNonConstrainedGenericWithNull if (value == null) +// ReSharper restore CompareNonConstrainedGenericWithNull { writer.WriteNull(); return;