mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-17 21:54:58 +00:00
perf: Massive optimization for enum utils
This commit is contained in:
@@ -35,7 +35,8 @@ namespace ICD.Common.Utils
|
||||
if (type == null)
|
||||
throw new ArgumentNullException("type");
|
||||
|
||||
return type.IsAssignableTo(typeof(Enum)) || type
|
||||
// Type
|
||||
return type
|
||||
#if !SIMPLSHARP
|
||||
.GetTypeInfo()
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user