mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
perf: Don't serialize namespace for builtin types
This commit is contained in:
@@ -24,7 +24,10 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
string name = type.GetNameWithoutAssemblyDetails();
|
string name = Type.GetType(type.FullName) == null
|
||||||
|
? type.GetNameWithoutAssemblyDetails()
|
||||||
|
: type.FullName;
|
||||||
|
|
||||||
extends.WriteValue(name);
|
extends.WriteValue(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user