THRIFT-1973 TCompactProtocol in C# lib does not serialize and deserialize negative int32 and int64 number correctly
Patch: Eric Ding
diff --git a/test/ThriftTest.thrift b/test/ThriftTest.thrift
index be000b6..d191afd 100644
--- a/test/ThriftTest.thrift
+++ b/test/ThriftTest.thrift
@@ -375,3 +375,11 @@
1: optional StructA aa;
2: required StructA ab;
}
+
+struct Primitives {
+ 1: optional byte byte_thing;
+ 2: optional i16 i16_thing;
+ 3: optional i32 i32_thing;
+ 4: optional i64 i64_thing;
+ 5: optional bool bool_thing;
+}