Пример #1
0
        public uint GetILnanoCLRFromILCLR(uint ilCLR)
        {
            //Special case for when CPDE wants to step to the end of the function?
            if (ilCLR == uint.MaxValue)
            {
                return(uint.MaxValue);
            }

            uint ilnanoCLR = ILComparer.Map(true, m_pdbxMethod.ILMap, ilCLR);

            Debug.Assert(ilnanoCLR <= ilCLR);

            return(ilnanoCLR);
        }
Пример #2
0
        public uint GetILCLRFromILnanoCLR(uint ilnanoCLR)
        {
            uint ilCLR;

            //Special case for CatchHandlerFound and AppDomain transitions; possibly used elsewhere.
            if (ilnanoCLR == uint.MaxValue)
            {
                return(uint.MaxValue);
            }

            ilCLR = ILComparer.Map(false, m_pdbxMethod.ILMap, ilnanoCLR);
            Debug.Assert(ilnanoCLR <= ilCLR);

            return(ilCLR);
        }