[mcs] Use correct parent type in partial type base context