Opens a method into which symbol information is emitted. The given method becomes the current method for calls to define sequence points, parameters, and lexical scopes. There is an implicit lexical scope around the entire method. Reopening a method that was previously closed erases any previously defined symbols for that method. There can be only one open method at a time.
HRESULT OpenMethod( [in] mdMethodDef method);
[in] The metadata token for the method to be opened.
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Header: CorSym.idl, CorSym.h
Submit and view feedback for