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