Theraot
Theraot copied to clipboard
Type.IsEnum for .NET Standard 1.6 and below
public virtual bool IsEnum => IsSubclassOf(typeof(Enum));
https://github.com/dotnet/coreclr/blob/master/src/System.Private.CoreLib/shared/System/Type.cs#L105