public void OpenNamespace(string name) { int hr; COMException Exception; hr = SymWriter_OpenNamespace(m_Writer, name); if (hr < 0) { Exception = new COMException("Call to OpenNamespace failed.", hr); throw Exception; } }