System.CompatibilityExtensions.GetIsClass C# (CSharp) Method