mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-01 05:44: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)
|
||||
name = null;
|
||||
else if (type.IsPrimitive)
|
||||
name = type.Name;
|
||||
//else if (type.IsPrimitive)
|
||||
// name = type.FullName;
|
||||
else
|
||||
name = type.AssemblyQualifiedName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user