mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-13 12:37:13 +00:00
Type.Name unreliable for deserialization
This commit is contained in:
parent
20221678ba
commit
ada309a2af
1 changed files with 2 additions and 2 deletions
|
|
@ -50,8 +50,8 @@ namespace ICD.Common.Utils.Extensions
|
||||||
|
|
||||||
if (type == null)
|
if (type == null)
|
||||||
name = null;
|
name = null;
|
||||||
else if (type.IsPrimitive)
|
//else if (type.IsPrimitive)
|
||||||
name = type.Name;
|
// name = type.FullName;
|
||||||
else
|
else
|
||||||
name = type.AssemblyQualifiedName;
|
name = type.AssemblyQualifiedName;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue