Exemplo n.º 1
0
        public bool CanSetIP(int offset)
        {
            ICorDebugILFrame ilframe = GetILFrame();

            if (ilframe == null)
            {
                return(false);
            }
            return(ilframe.CanSetIP((uint)offset) == (int)HResult.S_OK);
        }
Exemplo n.º 2
0
        public bool CanSetIP(int offset, out int hresult)
        {
            ICorDebugILFrame ilframe = GetILFrame();

            if (ilframe == null)
            {
                hresult = (int)HResult.E_FAIL;
                return(false);
            }
            hresult = ilframe.CanSetIP((uint)offset);
            return(hresult == (int)HResult.S_OK);
        }