ISymUnmanagedMethod::GetRootScope Method

Gets the root lexical scope within this method. This scope encloses the entire method.

Syntax

HRESULT GetRootScope(  
    [out, retval] ISymUnmanagedScope** pRetVal);  

Parameters

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