public override Type GetGenericTypeDefinition () { Type res = GetGenericTypeDefinition_impl (); if (res == null) throw new InvalidOperationException (); return res; } #endif