System.CompatibilityExtensions.GetIsEnum C# (CSharp) Метод