ISymUnmanagedMethod::GetScopeFromOffset Method
Gets the most enclosing lexical scope within this method that encloses the given offset. This can be used to start local variable searches.
Syntax
HRESULT GetScopeFromOffset(
[in] ULONG32 offset,
[out, retval] ISymUnmanagedScope** pRetVal);
Parameters
offset
[in] A ULONG
that contains the offset.
pRetVal
[out] A pointer that is set to the returned ISymUnmanagedScope interface.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl, CorSym.h
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.