示例#1
0
        public void EnumerateReferences(ulong objRef, out IMDReferenceEnum ppEnum)
        {
            List <MD_Reference> refs = new List <MD_Reference>();

            m_type.EnumerateRefsOfObject(objRef, delegate(ulong child, int offset)
            {
                if (child != 0)
                {
                    MD_Reference r = new MD_Reference();
                    r.address      = child;
                    r.offset       = offset;
                    refs.Add(r);
                }
            });


            ppEnum = new ReferenceEnum(refs);
        }
示例#2
0
        public void EnumerateReferences(ulong objRef, out IMDReferenceEnum ppEnum)
        {
            List<MD_Reference> refs = new List<MD_Reference>();
            m_type.EnumerateRefsOfObject(objRef, delegate(ulong child, int offset)
            {
                if (child != 0)
                {
                    MD_Reference r = new MD_Reference();
                    r.address = child;
                    r.offset = offset;
                    refs.Add(r);
                }
            });


            ppEnum = new ReferenceEnum(refs);
        }