Refactor namespaces
This commit is contained in:
parent
570d990a94
commit
fece29b071
@ -83,7 +83,7 @@ public static class Serializer
|
|||||||
if (value is null)
|
if (value is null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var enumerable = property.GetValue(value) as IEnumerable;
|
var enumerable = property is not null ? property.GetValue(value) as IEnumerable : value as IEnumerable;
|
||||||
|
|
||||||
if (enumerable is null)
|
if (enumerable is null)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user