JS1174: Method matches a non-overridable method in a base class

Method matches a non-overridable method in a base class. Specify 'hide' to suppress this message.

A base-class method with the final modifier matches a method in a derived class. In addition, the derived-class method has the override modifier or the code is being compiled with the /versionsafe option. A final method cannot be overridden, and you must explicitly specify the hide modifier for the derived-class method if you are using the /versionsafe option.

To correct this error

  • Use the hide modifier for the method in the derived class.

See Also

Concepts

Troubleshooting Your Scripts

JScript Modifiers

Reference

/versionsafe

hide Modifier

override Modifier

final Modifier

Other Resources

JScript Reference