prjWarningLevel Enumeration

 

Used by the WarningLevel property to indicate the types of warnings displayed during compilation.

Namespace:   VSLangProj
Assembly:  VSLangProj (in VSLangProj.dll)

[GuidAttribute("31DDDF62-1891-4870-8DF5-00D9028826DF")]
public enum prjWarningLevel

Member nameDescription
prjWarningLevel0

Turns off emission of all warning messages.

prjWarningLevel1

Displays severe warning messages.

prjWarningLevel2

C# only. Displays level 1 warnings plus certain less-severe warnings, such as warnings about hiding class members.

prjWarningLevel3

C# only. Displays level 2 warnings plus certain less-severe warnings, such as warnings about expressions that always evaluate to true or false.

prjWarningLevel4

C# only. Displays all level 3 warnings plus informational warnings. This is the default warning level at the command line.

Return to top
Show: