public SyntaxPrinter(SyntaxWriter writer) { if (writer == null) throw new ArgumentNullException("writer"); _writer = writer; }
public void Dispose() { if (!_disposed) { if (_writer != null) { _writer.Flush(); _writer = null; } _disposed = true; } }