Fix Issue 1730 - Error message on 'this' reference modifier mismatch when
calling methods is uninformative
Merge pull request #1407 from AndrejMitrovic/Fix1730

Issue 1730 - Error message on 'this' reference modifier mismatch is uninformative