mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-13 11:44:57 +00:00
fix: Fixing specific enum assignment bug
This commit is contained in:
@@ -40,7 +40,7 @@ namespace ICD.Common.Utils
|
||||
#if !SIMPLSHARP
|
||||
.GetTypeInfo()
|
||||
#endif
|
||||
.IsEnum;
|
||||
.IsEnum || type.IsAssignableTo(typeof(Enum));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user