NAnt SDK Documentation - v0.92

CompilerBase.SuppressWarnings Property

Specifies a list of warnings that you want the compiler to suppress.

[Visual Basic]
<BuildElementCollection(ChildElementName:="warning", ElementType:=null, Name:="nowarn", Required:=False, ProcessXml:=True)>
Overridable Public ReadOnly Property SuppressWarnings As CompilerWarningCollection
[C#]
[BuildElementCollection(ChildElementName="warning", ElementType=null, Name="nowarn", Required=False, ProcessXml=True)]
public virtual NAnt.DotNet.Types.CompilerWarningCollection SuppressWarnings {get;}

See Also

CompilerBase Class | NAnt.DotNet.Tasks Namespace