diff --git a/ICD.Common.Utils/EnumUtils.cs b/ICD.Common.Utils/EnumUtils.cs index ee3bdc2..20eeb92 100644 --- a/ICD.Common.Utils/EnumUtils.cs +++ b/ICD.Common.Utils/EnumUtils.cs @@ -35,11 +35,12 @@ namespace ICD.Common.Utils if (type == null) throw new ArgumentNullException("type"); - return type.IsAssignableTo(typeof(Enum)) || type + // Type + return type #if !SIMPLSHARP - .GetTypeInfo() + .GetTypeInfo() #endif - .IsEnum; + .IsEnum; } ///