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.