Esempio n. 1
0
 public static void SetupFixture()
 {
     MessagePackSerializer.PrepareCollectionType <byte>();
     MessagePackSerializer.PrepareCollectionType <char>();
     MessagePackSerializer.PrepareCollectionType <int>();
     MessagePackSerializer.PrepareDictionaryType <string, int>();
     new ArraySegmentEqualityComparer <byte>().Equals(default(ArraySegment <byte>), default(ArraySegment <byte>));
     new ArraySegmentEqualityComparer <char>().Equals(default(ArraySegment <char>), default(ArraySegment <char>));
     new ArraySegmentEqualityComparer <int>().Equals(default(ArraySegment <int>), default(ArraySegment <int>));
 }