public override void ParseUpvalues(BinaryReaderEx reader, BHeader header, LFunctionParseState s) { BList <LUpvalue> upvalues = header.Upvalue.ParseList(reader, header); s.LenUpvalues = upvalues.Length.AsInt(); s.Upvalues = upvalues.AsArray(new LUpvalue[s.LenUpvalues]); }