Esempio n. 1
0
 public void Read(SignatureReader rdr)
 {
     pl   = rdr.ReadByte();
     mods = new CustomModifierCollection();
     mods.Read(rdr);
     t = TypeElement.ReadType(rdr);
 }
Esempio n. 2
0
        public void Read(SignatureReader rdr)
        {
            byte p = rdr.ReadByte();

            if (p == 0x8)       //Normal  PROPERTY prolog
            {
                ht = false;
            }
            else if (p == 0x28) //HASTHIS PROPERTY prolog
            {
                ht = true;
            }
            else
            {
                throw new InvalidOperationException();
            }

            int pc = rdr.ReadCompressedInt();

            mods = new CustomModifierCollection();
            mods.Read(rdr);
            t  = TypeElement.ReadType(rdr);
            ps = new ParamCollection();
            ps.Read(rdr, pc);
        }
Esempio n. 3
0
 public void Read(SignatureReader rdr)
 {
     mods = new CustomModifierCollection();
     mods.Read(rdr);
     if (rdr.GetElementTypeAhead() == ElementType.ByRef)
     {
         br = true;
     }
     else
     {
         br = false;
     }
     t = TypeElement.ReadType(rdr);
 }