Author: atsushi
Date: 2006-11-07 13:17:19 -0500 (Tue, 07 Nov 2006)
New Revision: 67474

Modified:
   trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
   
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionSerializerBase2.cs
Log:
2006-11-07  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * ServiceDescriptionSerializerBase2.cs :
          sync with sys.xml.serialization API updates.



Modified: 
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
===================================================================
--- 
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog   
    2006-11-07 18:14:55 UTC (rev 67473)
+++ 
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog   
    2006-11-07 18:17:19 UTC (rev 67474)
@@ -1,3 +1,8 @@
+2006-11-07  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * ServiceDescriptionSerializerBase2.cs :
+         sync with sys.xml.serialization API updates.
+
 2006-10-25  Ankit Jain  <[EMAIL PROTECTED]>
 
        * ServiceDescriptionSerializerBase2.cs: Mark classes as internal.

Modified: 
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionSerializerBase2.cs
===================================================================
--- 
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionSerializerBase2.cs
    2006-11-07 18:14:55 UTC (rev 67473)
+++ 
trunk/mcs/class/System.Web.Services/System.Web.Services.Description/ServiceDescriptionSerializerBase2.cs
    2006-11-07 18:17:19 UTC (rev 67474)
@@ -2474,7 +2474,7 @@
                }
        }
 #if !TARGET_JVM
-       internal class XmlSerializerContract : 
System.Xml.Serialization.IXmlSerializerImplementation
+       internal class XmlSerializerContract : 
System.Xml.Serialization.XmlSerializerImplementation
        {
                System.Collections.Hashtable readMethods = null;
                System.Collections.Hashtable writeMethods = null;
@@ -2494,7 +2494,7 @@
 
                public System.Collections.Hashtable ReadMethods {
                        get {
-                               lock 
(System.Xml.Serialization.XmlSerializationGeneratedCode.InternalSyncObject) {
+                               lock (this) {
                                        if (readMethods == null) {
                                                readMethods = new 
System.Collections.Hashtable ();
                                                readMethods.Add (@"", 
@"ReadRoot_ServiceDescription");
@@ -2506,7 +2506,7 @@
 
                public System.Collections.Hashtable WriteMethods {
                        get {
-                               lock 
(System.Xml.Serialization.XmlSerializationGeneratedCode.InternalSyncObject) {
+                               lock (this) {
                                        if (writeMethods == null) {
                                                writeMethods = new 
System.Collections.Hashtable ();
                                                writeMethods.Add (@"", 
@"WriteRoot_ServiceDescription");
@@ -2518,7 +2518,7 @@
 
                public System.Collections.Hashtable TypedSerializers {
                        get {
-                               lock 
(System.Xml.Serialization.XmlSerializationGeneratedCode.InternalSyncObject) {
+                               lock (this) {
                                        if (typedSerializers == null) {
                                                typedSerializers = new 
System.Collections.Hashtable ();
                                                typedSerializers.Add (@"", new 
definitionsSerializer());

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to