Example #1
0
        internal LocalInfoCollection ReadLocalVarSig()
        {
            const byte local_sig = 0x7;

            if (ReadByte() != local_sig)
            {
                throw new NotSupportedException();
            }

            var localVariables = new LocalInfoCollection();

            var count = ReadCompressedUInt32();

            for (int i = 0; i < count; ++i)
            {
                localVariables.Add(new LocalInfo(ReadTypeSignature()));
            }

            return(localVariables);
        }
 public LocalVarSigBuilder()
 {
     localVariables = new LocalInfoCollection();
 }