NAnt SDK Documentation - v0.92 |

# CompilerBase.WriteWarningsAsError Method

Writes list of warnings to (not) treat as errors to the specified TextWriter.

[Visual Basic]
Overridable Protected Sub WriteWarningsAsError( _
ByVal writer As TextWriter _
)
[C#]
protected virtual void WriteWarningsAsError(
TextWriter writer
);

#### Parameters

writer
  The TextWriter to which the list of warnings should be written.

#### See Also

CompilerBase Class | NAnt.DotNet.Tasks Namespace