Fixes for the C# library.
authorDavid Reiss <dreiss@apache.org>
Tue, 18 Mar 2008 18:22:43 +0000 (18:22 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 18 Mar 2008 18:22:43 +0000 (18:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665575 13f79535-47bb-0310-9956-ffa450edef68

lib/csharp/src/Protocol/TField.cs
lib/csharp/src/Protocol/TList.cs
lib/csharp/src/Protocol/TMap.cs
lib/csharp/src/Protocol/TMessage.cs
lib/csharp/src/Protocol/TSet.cs
lib/csharp/src/Protocol/TStruct.cs

index c294253..93c0738 100644 (file)
@@ -19,6 +19,7 @@ namespace Thrift.Protocol
        public struct TField
        {
                public TField(string name, TType type, short id)
+                       :this()
                {
                        Name = name;
                        Type = type;
index eb307ce..ccce522 100644 (file)
@@ -19,6 +19,7 @@ namespace Thrift.Protocol
        public struct TList
        {
                public TList(TType elementType, int count)
+                       :this()
                {
                        ElementType = elementType;
                        Count = count;
index 53c7833..a71e52a 100644 (file)
@@ -19,6 +19,7 @@ namespace Thrift.Protocol
        public struct TMap
        {
                public TMap(TType keyType, TType valueType, int count)
+                       :this()
                {
                        KeyType = keyType;
                        ValueType = valueType;
index 92176f3..15dfce0 100644 (file)
@@ -19,6 +19,7 @@ namespace Thrift.Protocol
        public struct TMessage
        {
                public TMessage(string name, TMessageType type, int seqid)
+                       :this()
                {
                        Name = name;
                        Type = type;
index 0dea8cb..0bfc29e 100644 (file)
@@ -19,6 +19,7 @@ namespace Thrift.Protocol
        public struct TSet
        {
                public TSet(TType elementType, int count)
+                       :this()
                {
                        ElementType = elementType;
                        Count = count;
index 3833695..62f60fd 100644 (file)
@@ -18,6 +18,7 @@ namespace Thrift.Protocol
        public struct TStruct
        {
                public TStruct(string name)
+                       :this()
                {
                        Name = name;
                }