示例#1
0
        public static MethodHeaderInfo Factory(StreamNavigator sn)
        {
            byte flags = sn.PeakByte();

            return(((flags & 0x80) != 0)
                ? ExtendedMethodHeaderInfo.Factory(sn)
                : MethodHeaderInfo.Factory(sn));
        }
示例#2
0
        public static MethodHeaderInfo Factory(StreamNavigator sn)
        {
            ExtendedMethodHeaderInfo emhi = new ExtendedMethodHeaderInfo();

            emhi._bitfield   = sn.GetByte();
            emhi._max_stack  = sn.GetByte();
            emhi._nargs      = sn.GetByte();
            emhi._max_locals = sn.GetByte();
            return(emhi);
        }