[corlib]Fix 2.0 test suite breakage.