[Mono-dev] Adding a missing property to System.Web.Services/WebServiceBindingAttribute.cs

Rafael Teixeira monoman at gmail.com
Wed Jun 21 18:58:27 EDT 2006


Someone tripped on the lack of it (seems VS.NET 2005 template adds it
by default)

I compiled and run all nunit tests for the affected assembly with no
regressions,. May I commit?

Diff:

Index: System.Web.Services/WebServiceBindingAttribute.cs
===================================================================
--- System.Web.Services/WebServiceBindingAttribute.cs   (revision 61921)
+++ System.Web.Services/WebServiceBindingAttribute.cs   (working copy)
@@ -40,7 +40,9 @@

 #if NET_2_0
                bool emitConformanceClaims;
-               WsiClaims conformanceClaims;
+               WsiClaims conformanceClaims;
+
+               WsiProfiles conformsTo;
 #endif

                #endregion // Fields
@@ -100,7 +102,12 @@
                public bool EmitConformanceClaims {
                        get { return emitConformanceClaims; }
                        set { emitConformanceClaims = value; }
-               }
+               }
+
+               public WsiProfiles ConformsTo {
+                       get { return conformsTo; }
+                       set { conformsTo = value; }
+               }
 #endif


Index: System.Web.Services/ChangeLog
===================================================================
--- System.Web.Services/ChangeLog       (revision 61921)
+++ System.Web.Services/ChangeLog       (working copy)
@@ -1,3 +1,7 @@
+2006-06-21  Rafael Teixeira <rafaelteixeirabr at hotmail.com>
+
+       * WebServiceBindingAttribute.cs: new 2.0 property WsiProfiles
ConformsTo.
+
 2006-01-03  Chris Toshok  <toshok at ximian.com>

        * WsiProfiles.cs: new 2.0 enum.


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw



More information about the Mono-devel-list mailing list