The Language page contains some settings that control X# Language specific options. These settings apply to all dialects.
Item |
Description |
Command item |
Allow Late Binding |
Allow property access and method calls on expressions of type OBJECT and USUAL. |
|
Allow Named Arguments |
Allow named arguments (Default = TRUE for the Core dialect and FALSE for the other dialects). Changing the dialect may also automatically change this setting. |
|
Allow Unsafe Code |
Allow Unsafe code inside this assembly. |
|
Case Sensitive |
Enable/Disable case sensitivity. |
|
Initialize Local variables |
Automatically initialize local variables without initialization expression. Please note that for locals of type string, the initial value will depend on the 'Initialize strings' setting from the Dialect page. |
|
Overflow Exceptions |
Check for Overflow and Underflow for numeric expressions, like the CHECKED keyword. |
|
Use Zero Based Arrays |
Use Zero Based Arrays. |
|
Enforce SELF |
When checked, all references to methods and fields/properties inside a class should be prefixed with SELF (or SUPER). |
|
Allow DOT for instance members |
When checked, you can also use the DOT (.) operator to access instance fields, properties and methods. Otherwise, the COLON (:) operator is needed. |
|
Enforce VIRTUAL/OVERRIDE |
When checked, you MUST prefix methods with VIRTUAL and/or OVERRIDE when overriding methods in a parent class, or when defining a new method that can be overridden. |
|
Allow Old Style assignments |
When checked, allow the use of the single equals operator (=) for assignments. Otherwise, the Colon Equals (:=) operator is mandatory. |
|
Modern Syntax |
This options disables some old style features, such as certain comment characters. |
|
Enable Memvar support |
Enable support for memory variables (MEMVAR, PUBLIC, PRIVATE & PARAMETERS). Please note that this is NOT supported for the Core and Vulcan dialects. |
|
Enable Undeclared variables support |
Enable support for undeclared variables (these are resolved to MEMVARs). Please note that this requires /memvar to be enabled as well. |
|
Enable Implicit Namespace lookup |
Enable the implicit lookup of classes defined in assemblies with an Implicit Namespace attribute. |
|
Prefix classes with default Namespace |
Prefix all classes that do not have a namespace prefix and are not in a begin namespace ... end namespace block with the namespace of the assembly. |
|
Additional Include paths |
Additional include paths for the preprocessor. (It also looks through the folders set with the include environment variable.) |
|
Alternate standard header file |
Name of an alternative standard header file (alternative for XSharpDefs.xh). |
|
Suppress standard header file |
Suppress inclusion of the standard header file (XSharpDefs.xh) in every file. |