This compiler option tells the compiler NOT to automatically add the OVERRIDE modifier to methods in subclasses that override virtual methods in parent classes.
-enforceoverride[+ | -]
+ | - | Specifying +, or just - |
1.Open the project's Properties page.
2.Click the Language tab.
3.Change the value.