CompilerWarningLevel Enumeration

Specifies the level at which the .NET Framework compiler should start displaying warnings.

Definition

Namespace: DevCase.Core.Diagnostics.CodeCompilation
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum CompilerWarningLevel

Members

None 0 Turns off emission of all warning messages.
Level1 1 Displays severe warning messages.
Level2 2 Displays level 1 warnings plus certain, less-severe warnings, such as warnings about hiding class members.
Level3 3 Displays level 2 warnings plus certain, less-severe warnings, such as warnings about expressions that always evaluate to true or false.
Level4 4 Displays all level 3 warnings plus informational warnings.

This is the default warning level at the command line.

See Also