public ISymbolMethod GetMethodFromDocumentPosition(
ISymbolDocument document,
int line,
int column)
{
COMException Exception;
int hr;
IntPtr MethodPointer;
hr = SymReader_GetMethodFromDocumentPosition(m_Reader, ((SymDocument)document).InternalDocument, line, column, out MethodPointer);
if (hr < 0)
{
Exception = new COMException("Call to GetMethodFromDocumentPosition failed.", hr);
throw Exception;
}
return new SymMethod(MethodPointer);
}