mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-15 20:54:58 +00:00
Type.Name unreliable for deserialization
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user