mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-15 20:54:58 +00:00
refactor: Resolving warning
This commit is contained in:
@@ -48,7 +48,9 @@ namespace ICD.Common.Utils.Json
|
|||||||
if (serializer == null)
|
if (serializer == null)
|
||||||
throw new ArgumentNullException("serializer");
|
throw new ArgumentNullException("serializer");
|
||||||
|
|
||||||
|
// ReSharper disable CompareNonConstrainedGenericWithNull
|
||||||
if (value == null)
|
if (value == null)
|
||||||
|
// ReSharper restore CompareNonConstrainedGenericWithNull
|
||||||
{
|
{
|
||||||
writer.WriteNull();
|
writer.WriteNull();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user