Fix access of imported shared properties and events. Fixes #12861.
Fix many error messages for the latest version of .NET's vbc.