fix: Fixing specific enum assignment bug

This commit is contained in:
Chris Cameron
2018-07-25 14:00:25 -04:00
parent aa3559cb4e
commit 1193c8e3bb

View File

@@ -40,7 +40,7 @@ namespace ICD.Common.Utils
#if !SIMPLSHARP #if !SIMPLSHARP
.GetTypeInfo() .GetTypeInfo()
#endif #endif
.IsEnum; .IsEnum || type.IsAssignableTo(typeof(Enum));
} }
/// <summary> /// <summary>