public void Dispose() { if (!m_disposed) { try { if (m_stream != null) { m_stream.Dispose(); } } finally { GC.SuppressFinalize(this); m_stream = null; m_disposed = true; } } }