コード例 #1
0
        public static List <string> GetBadBytecodeConversions(IOrderedEnumerable <Line> lines)
        {
            var bytecodes =
                lines
                .Where(x => x.AddressRaw >= 0xC00000U)
                .Select(x =>
                        new {
                Line      = x,
                Converted = x.Bytecode,
                Rom       = Rom.GetString(x.AddressRaw, x.ByteLength)
            }
                        )
                .Where(x => x.Converted != x.Rom)
                .Select(x => $"{x.Line.ToString()}   rom={x.Rom}  converted={x.Converted}")
                .ToList();

            return(bytecodes);
        }