Jelajahi Sumber

* TypeStubManager.cs: Improved locking in GetLogicalTypeInfo().
* WebServiceHandler.cs: Removed unneded methods.

svn path=/trunk/mcs/; revision=29175

Lluis Sanchez 21 tahun lalu
induk
melakukan
caa7ee9da6

+ 5 - 0
mcs/class/System.Web.Services/System.Web.Services.Protocols/ChangeLog

@@ -1,3 +1,8 @@
+2004-06-10  Lluis Sanchez Gual  <[email protected]>
+
+	* TypeStubManager.cs: Improved locking in GetLogicalTypeInfo().
+	* WebServiceHandler.cs: Removed unneded methods.
+
 2004-06-02  Lluis Sanchez Gual  <[email protected]>
 
 	* LogicalMethodInfo.cs: Don't crash in GetCustomAttribute if the requested

+ 6 - 6
mcs/class/System.Web.Services/System.Web.Services.Protocols/TypeStubManager.cs

@@ -366,13 +366,13 @@ namespace System.Web.Services.Protocols {
 		//
 		static internal LogicalTypeInfo GetLogicalTypeInfo (Type t)
 		{
-			LogicalTypeInfo tm = (LogicalTypeInfo) type_to_manager [t];
-
-			if (tm != null)
-				return tm;
-
-			lock (typeof (LogicalTypeInfo))
+			lock (type_to_manager)
 			{
+				LogicalTypeInfo tm = (LogicalTypeInfo) type_to_manager [t];
+	
+				if (tm != null)
+					return tm;
+
 				tm = (LogicalTypeInfo) type_to_manager [t];
 
 				if (tm != null)

+ 0 - 25
mcs/class/System.Web.Services/System.Web.Services.Protocols/WebServiceHandler.cs

@@ -65,31 +65,6 @@ namespace System.Web.Services.Protocols
 
 			return ws;
 		}
-		
-		[MonoTODO]
-		protected IAsyncResult BeginCoreProcessRequest (AsyncCallback callback, object o)
-		{
-			throw new NotImplementedException ();
-		}
-
-		[MonoTODO]
-		protected void CoreProcessRequest ()
-		{
-			throw new NotImplementedException ();
-		}
-
-		[MonoTODO]
-		protected void EndCoreProcessRequest (IAsyncResult result)
-		{
-			throw new NotImplementedException ();
-		}
-
-		[MonoTODO]
-		private void WriteReturns (object[] returnValues)
-		{
-			//protocol.WriteReturns (returnValues, outputStream);
-			throw new NotImplementedException ();
-		}
 	}
 }