Devesprit.Scripter

CompilerOptions..::..WarningLevel Property

The WarningLevel option specifies the warning level for the compiler to display. 0: Turns off emission of all warning messages. 1: Displays severe warning messages. 2: Displays level 1 warnings plus certain, less-severe warnings, such as warnings about hiding class members. 3: Displays level 2 warnings plus certain, less-severe warnings, such as warnings about expressions that always evaluate to true or false. 4: Displays all level 3 warnings plus informational warnings.

Namespace:  Devesprit.Scripter.Compiler.Options
Assembly:  Devesprit Scripter (in Devesprit Scripter.dll)

Syntax


public int WarningLevel { get; set; }
Public Property WarningLevel As Integer
	Get
	Set
public:
property int^ WarningLevel {
	int^ get ();
	void set (int^ value);
}

Field Value

The warning level.

Exceptions


ExceptionCondition
ExceptionThis value is invalid for this property, the valid range for this property is 0-5.