mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
perf: Don't serialize namespace for builtin types
This commit is contained in:
parent
46a1ea09b6
commit
d6abf3fdf6
1 changed files with 4 additions and 1 deletions
|
|
@ -24,7 +24,10 @@ namespace ICD.Common.Utils.Extensions
|
|||
return;
|
||||
}
|
||||
|
||||
string name = type.GetNameWithoutAssemblyDetails();
|
||||
string name = Type.GetType(type.FullName) == null
|
||||
? type.GetNameWithoutAssemblyDetails()
|
||||
: type.FullName;
|
||||
|
||||
extends.WriteValue(name);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue