summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Meier <roger@apache.org>2011-07-17 14:47:48 +0000
committerRoger Meier <roger@apache.org>2011-07-17 14:47:48 +0000
commit1e20e9f589f7a79b1e355c75fb66b44cdf512fc4 (patch)
tree0d761a1bc2cc3734b9dda776602eef0f0bbb1c46
parent7e056e7572c642bd7f5d5677261763f05a17e1dd (diff)
downloadthrift-1e20e9f589f7a79b1e355c75fb66b44cdf512fc4.tar.gz
THRIFT-1230 C# Library -- THashSet is not marked as Serializable which makes all Thrift classes that uses it unserializable
Patch: Maciek Weksej git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1147643 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--lib/csharp/src/Collections/THashSet.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/csharp/src/Collections/THashSet.cs b/lib/csharp/src/Collections/THashSet.cs
index a9957693e..0ddea549b 100644
--- a/lib/csharp/src/Collections/THashSet.cs
+++ b/lib/csharp/src/Collections/THashSet.cs
@@ -23,6 +23,7 @@ using System.Collections.Generic;
namespace Thrift.Collections
{
+ [Serializable]
public class THashSet<T> : ICollection<T>
{
#if NET_2_0