Adding fix for case of error CS0177
Merge pull request #969 from eburgos/fix-wrong-cs0177-squashed

[mcs] Fix wrong case for error CS0177 (squashed)