mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
fix: Resolving warning
This commit is contained in:
parent
80a0ca26c5
commit
27760f2282
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue