CompilerWarningLevel Enumeration
Specifies the level at which the .NET Framework compiler should start displaying warnings.
Namespace: DevCase.Core.Diagnostics.CodeCompilationAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum CompilerWarningLevel
Public Enumeration CompilerWarningLevel
Dim instance As CompilerWarningLevel
public enum class CompilerWarningLevel
type CompilerWarningLevel
No code example is currently available or this language may not be supported.
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.
|