mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +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)
|
||||
name = null;
|
||||
else if (type.IsPrimitive)
|
||||
name = type.Name;
|
||||
//else if (type.IsPrimitive)
|
||||
// name = type.FullName;
|
||||
else
|
||||
name = type.AssemblyQualifiedName;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue