public override void WriteError(ErrorRecord er) { ThrowIfDisposed(); //m_errors.Add( er ); Cmdlet.SafeWriteError(er); }