public int OpenScope(int startOffset)
{
int hr;
int ScopeId = 0;
COMException Exception;
hr = SymWriter_OpenScope(m_Writer, startOffset, out ScopeId);
if (hr < 0)
{
Exception = new COMException("Call to OpenScope failed.", hr);
throw Exception;
}
return ScopeId;
}