Show/Hide Toolbars

XSharp

This compiler option tells the compiler NOT to automatically add the OVERRIDE modifier to methods in subclasses that override virtual methods in parent classes.

Syntax

-enforceoverride[+ | -]

Arguments

+ | - Specifying +, or just -

To set this compiler option in the Visual Studio development environment:

 

1.Open the project's Properties page.

2.Click the Language tab.

3.Change the value.

4.Click here to see the property page