[mcs] type pattern expression
[mcs] Fixes failing error test