public override MethodInfo GetGenericMethodDefinition () { MethodInfo res = GetGenericMethodDefinition_impl (); if (res == null) throw new InvalidOperationException (); return res; }