System.CompatibilityExtensions.GetIsGenericTypeDefinition C# (CSharp) Method