public StringKeySerializerTargetFormatter_MpcGeneratedDictionary()
            {
                this.keyMapping = new newmsgpack::MessagePack.Internal.ByteArrayStringHashTable(9)
                {
                    { "MyProperty1", 0 },
                    { "MyProperty2", 1 },
                    { "MyProperty3", 2 },
                    { "MyProperty4", 3 },
                    { "MyProperty5", 4 },
                    { "MyProperty6", 5 },
                    { "MyProperty7", 6 },
                    { "MyProperty8", 7 },
                    { "MyProperty9", 8 },
                };

                this.stringByteKeys = new byte[][]
                {
                    global::System.Text.Encoding.UTF8.GetBytes("MyProperty1"),
                    global::System.Text.Encoding.UTF8.GetBytes("MyProperty2"),
                    global::System.Text.Encoding.UTF8.GetBytes("MyProperty3"),
                    global::System.Text.Encoding.UTF8.GetBytes("MyProperty4"),
                    global::System.Text.Encoding.UTF8.GetBytes("MyProperty5"),
                    global::System.Text.Encoding.UTF8.GetBytes("MyProperty6"),
                    global::System.Text.Encoding.UTF8.GetBytes("MyProperty7"),
                    global::System.Text.Encoding.UTF8.GetBytes("MyProperty8"),
                    global::System.Text.Encoding.UTF8.GetBytes("MyProperty9"),
                };
            }
 public DictionaryLookupCompare()
 {
     this.hashTable = new newmsgpack::MessagePack.Internal.ByteArrayStringHashTable(9);
     this.automata  = new newmsgpack::MessagePack.Internal.AutomataDictionary();
     this.keys      = new byte[9][];
     foreach (var item in Enumerable.Range(0, 9).Select(x => new { str = "MyProperty" + (x + 1), i = x }))
     {
         this.hashTable.Add(Encoding.UTF8.GetBytes(item.str), item.i);
         this.automata.Add(item.str, item.i);
         this.keys[item.i] = Encoding.UTF8.GetBytes(item.str);
     }
 }