mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-14 04:58:33 +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)
|
if (writer == null)
|
||||||
throw new ArgumentNullException("writer");
|
throw new ArgumentNullException("writer");
|
||||||
|
|
||||||
|
// ReSharper disable CompareNonConstrainedGenericWithNull
|
||||||
if (value == null)
|
if (value == null)
|
||||||
|
// ReSharper restore CompareNonConstrainedGenericWithNull
|
||||||
{
|
{
|
||||||
writer.WriteElementString(elementName, null);
|
writer.WriteElementString(elementName, null);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue