2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Tue, 1 Jul 2008 13:56:49 +0000 (13:56 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Tue, 1 Jul 2008 13:56:49 +0000 (13:56 -0000)
* ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
  SoapProtocolImporter.cs : make classes partial in 2.0 profile.

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

mcs/class/System.Web.Services/System.Web.Services.Description/ChangeLog
mcs/class/System.Web.Services/System.Web.Services.Description/HttpSimpleProtocolImporter.cs
mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolImporter.cs
mcs/class/System.Web.Services/System.Web.Services.Description/SoapProtocolImporter.cs

index 76bc8bac59fdc8dca374126c6b9f039a6bc801f5..483e36fa0f0415eecd33656370a2f4ff620cbedb 100644 (file)
@@ -1,3 +1,8 @@
+2008-07-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
+         SoapProtocolImporter.cs : make classes partial in 2.0 profile.
+
 2008-06-10  Vladimir Krasnov  <vladimirk@mainsoft.com>
 
        * ProtocolReflector.cs: fixed ImportBinding method, ports with the same
index a72c6cb59d8eae250ecd0b3402e97202e89346bd..572a7b79205362bd0f9cd91fb74069799b133a19 100644 (file)
@@ -70,6 +70,9 @@ namespace System.Web.Services.Description
                        httpBinding = (HttpBinding) Binding.Extensions.Find (typeof(HttpBinding));
 
                        CodeTypeDeclaration codeClass = new CodeTypeDeclaration (ClassName);
+#if NET_2_0
+                       codeClass.IsPartial = true;
+#endif
 
                        string location = null;
                        if (Port != null) {
index e8a82d73c964b4a89bd3b9a1429924c75dfcb314..2e5e3a2ae71c2f541825b52dd62ac636620dde40 100644 (file)
@@ -577,6 +577,9 @@ namespace System.Web.Services.Description {
                        
                        string argsClassName = classNames.AddUnique (messageName + "CompletedEventArgs", null);
                        CodeTypeDeclaration argsClass = new CodeTypeDeclaration (argsClassName);
+#if NET_2_0
+                       argsClass.IsPartial = true;
+#endif
                        argsClass.BaseTypes.Add (new CodeTypeReference ("System.ComponentModel.AsyncCompletedEventArgs"));
 
                        CodeMemberField resultsField = new CodeMemberField (typeof(object[]), "results");
index 80c25b93d24d0113868bfb1640f003c3530025d9..4432c95eefd529abaf51622ffe1462004499b5bf 100644 (file)
@@ -106,7 +106,10 @@ namespace System.Web.Services.Description {
                        soapBinding = (SoapBinding) Binding.Extensions.Find (typeof(SoapBinding));
                        
                        CodeTypeDeclaration codeClass = new CodeTypeDeclaration (ClassName);
-                       
+#if NET_2_0
+                       codeClass.IsPartial = true;
+#endif
+
                        string location = null;
                        
                        if (Port != null) {