Show/Hide Toolbars

XSharp

Navigation: X# Documentation > X# Compiler Options > X# Compiler Options Listed Alphabetically

-fox1 Classes are assumed to inherit from the Custom class

Scroll Prev Top Next More

The -fox1 compiler option tells the compiler that all classes with the FoxPro class syntax are assumed to inherit from the Custom class. This means:

the AS <idType> CLASS becomes mandatory

the code generation for properties assumes that the class inherits from the Custom class and creates Get and Set methods that read/write the values to the properties collection inside the Custom class

Syntax

-fox1[+ | -]

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 Dialect tab.

3.Change the value.

4.Click here to see the property page