[mcs] Private member can still have base members when in nested types. Fixes #19378