A class constructor uses an invalid modifier. Only the visibility modifiers (public, private, protected, and internal), the version-safe modifiers (hide and override), or the final and expando modifiers can be applied to a constructor.
To correct this error
-
Use a valid modifier for the constructor.
See Also
Concepts
JScript Modifiers
Other Resources
JScript ReferenceClass-based Objects