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