Example #1
0
        private CorDebugFunction GetFunctionFromToken(uint tk, Hashtable ht)
        {
            CorDebugFunction function = null;

            Pdbx.Method method = ht[tk] as Pdbx.Method;
            if (method != null)
            {
                CorDebugClass c = new CorDebugClass(this, method.Class);
                function = new CorDebugFunction(c, method);
            }

            Debug.Assert(function != null);
            return(function);
        }
Example #2
0
 public CorDebugFunction(CorDebugClass cls, Pdbx.Method method)
 {
     m_class      = cls;
     m_pdbxMethod = method;
 }