Пример #1
0
        public override void VisitLocalVarSig(LocalVarSig localvar)
        {
            int start;

            Utilities.ReadCompressedInteger(m_blobData, (int)localvar.BlobIndex, out start);
            localvar.CallingConvention = m_blobData[start];
            localvar.Local             = (localvar.CallingConvention & 0x7) != 0;
            localvar.Count             = Utilities.ReadCompressedInteger(m_blobData, start + 1, out start);
            localvar.LocalVariables    = ReadLocalVariables(localvar.Count, m_blobData, start);
        }
Пример #2
0
        public LocalVarSig GetLocalVarSig(uint index)
        {
            LocalVarSig lv = m_signatures[index] as LocalVarSig;

            if (lv == null)
            {
                lv = new LocalVarSig(index);
                lv.Accept(this);
                m_signatures[index] = lv;
            }
            return(lv);
        }