THRIFT-309. Make Thrift's C# mapping .NET 2.0 (Mono 1.2.4) compatible


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@743963 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/csharp/src/Server/TThreadedServer.cs b/lib/csharp/src/Server/TThreadedServer.cs
index a4d33a5..2928f31 100644
--- a/lib/csharp/src/Server/TThreadedServer.cs
+++ b/lib/csharp/src/Server/TThreadedServer.cs
@@ -11,8 +11,8 @@
 //  http://developers.facebook.com/thrift/using
 using System;
 using System.Collections.Generic;
-using System.Text;
 using System.Threading;
+using Thrift.Collections;
 using Thrift.Protocol;
 using Thrift.Transport;
 
@@ -28,7 +28,7 @@
 		private readonly int maxThreads;
 
 		private Queue<TTransport> clientQueue;
-		private HashSet<Thread> clientThreads;
+		private THashSet<Thread> clientThreads;
 		private object clientLock;
 		private Thread workerThread;
 
@@ -73,7 +73,7 @@
 			this.maxThreads = maxThreads;
 			clientQueue = new Queue<TTransport>();
 			clientLock = new object();
-			clientThreads = new HashSet<Thread>();
+			clientThreads = new THashSet<Thread>();
 		}
 
 		/// <summary>