Fixes for the C# library.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665575 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/csharp/src/Protocol/TField.cs b/lib/csharp/src/Protocol/TField.cs
index c294253..93c0738 100644
--- a/lib/csharp/src/Protocol/TField.cs
+++ b/lib/csharp/src/Protocol/TField.cs
@@ -19,6 +19,7 @@
public struct TField
{
public TField(string name, TType type, short id)
+ :this()
{
Name = name;
Type = type;
diff --git a/lib/csharp/src/Protocol/TList.cs b/lib/csharp/src/Protocol/TList.cs
index eb307ce..ccce522 100644
--- a/lib/csharp/src/Protocol/TList.cs
+++ b/lib/csharp/src/Protocol/TList.cs
@@ -19,6 +19,7 @@
public struct TList
{
public TList(TType elementType, int count)
+ :this()
{
ElementType = elementType;
Count = count;
diff --git a/lib/csharp/src/Protocol/TMap.cs b/lib/csharp/src/Protocol/TMap.cs
index 53c7833..a71e52a 100644
--- a/lib/csharp/src/Protocol/TMap.cs
+++ b/lib/csharp/src/Protocol/TMap.cs
@@ -19,6 +19,7 @@
public struct TMap
{
public TMap(TType keyType, TType valueType, int count)
+ :this()
{
KeyType = keyType;
ValueType = valueType;
diff --git a/lib/csharp/src/Protocol/TMessage.cs b/lib/csharp/src/Protocol/TMessage.cs
index 92176f3..15dfce0 100644
--- a/lib/csharp/src/Protocol/TMessage.cs
+++ b/lib/csharp/src/Protocol/TMessage.cs
@@ -19,6 +19,7 @@
public struct TMessage
{
public TMessage(string name, TMessageType type, int seqid)
+ :this()
{
Name = name;
Type = type;
diff --git a/lib/csharp/src/Protocol/TSet.cs b/lib/csharp/src/Protocol/TSet.cs
index 0dea8cb..0bfc29e 100644
--- a/lib/csharp/src/Protocol/TSet.cs
+++ b/lib/csharp/src/Protocol/TSet.cs
@@ -19,6 +19,7 @@
public struct TSet
{
public TSet(TType elementType, int count)
+ :this()
{
ElementType = elementType;
Count = count;
diff --git a/lib/csharp/src/Protocol/TStruct.cs b/lib/csharp/src/Protocol/TStruct.cs
index 3833695..62f60fd 100644
--- a/lib/csharp/src/Protocol/TStruct.cs
+++ b/lib/csharp/src/Protocol/TStruct.cs
@@ -18,6 +18,7 @@
public struct TStruct
{
public TStruct(string name)
+ :this()
{
Name = name;
}