[mcs] Don't report interface implementation errors for optional implementations. Fixes #18030
[mcs] Fix completion for `new {' input
Fix the check in 4660f44381e6f686b0cf3ded08564104c277e00a for special files.