System.Diagnostics.SymbolStore.SymMethod.GetScope C# (CSharp) Method

GetScope() public method

public GetScope ( int offset ) : ISymbolScope
offset int
return ISymbolScope
        public ISymbolScope GetScope(int offset)
        {
            int hr;
            IntPtr pScope;
            COMException Exception;
            hr = SymMethod_GetScopeFromOffset(m_Method, offset, out pScope);
            if (hr < 0)
            {
                Exception = new COMException("Call to GetScopeFromOffset failed.", hr);
                throw Exception;
            }
            return new SymScope(pScope);
        }