Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
JS1171: Cannot change visibility specification of a base method
Collapse the table of content
Expand the table of content

JS1171: Cannot change visibility specification of a base method

A method in a derived class overrides a base-class method, and the visibility modifiers of the two methods are different. This is not allowed because the visibility of a base-class member cannot be changed.

To correct this error

  • Change the visibility modifier of the derived-class method to match the visibility of the base class method.

Community Additions

ADD
Show:
© 2015 Microsoft