SuppressWarnings Property

NAnt SDK Documentation - v0.92 |

# JscTask.SuppressWarnings Property

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

[Visual Basic]
Overrides Public ReadOnly Property SuppressWarnings As CompilerWarningCollection
[C#]
public override NAnt.DotNet.Types.CompilerWarningCollection SuppressWarnings {get;}

#### Remarks

Override to avoid exposing this to build authors, as the JScript.NET compiler does not support suppressing warnings.

#### See Also

JscTask Class | NAnt.DotNet.Tasks Namespace