Type.IsEnum for .NET Standard 1.6 and below
Opened this issue · 0 comments
NN--- commented
public virtual bool IsEnum => IsSubclassOf(typeof(Enum));
https://github.com/dotnet/coreclr/blob/master/src/System.Private.CoreLib/shared/System/Type.cs#L105