refactoring: making fields readonly
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Protocols / HttpMethodAttribute.cs
index 54b13ae0cd4ed43dd15a299eb43db91b4c593beb..b21b0aee7fd9b0875815e81a86d91ce6eeb38775 100644 (file)
@@ -1,11 +1,11 @@
-// \r
-// System.Web.Services.Protocols.HttpMethodAttribute.cs\r
-//\r
-// Author:\r
-//   Tim Coleman (tim@timcoleman.com)\r
-//\r
-// Copyright (C) Tim Coleman, 2002\r
-//\r
+// 
+// System.Web.Services.Protocols.HttpMethodAttribute.cs
+//
+// Author:
+//   Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) Tim Coleman, 2002
+//
 
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-\r
-namespace System.Web.Services.Protocols {\r
-       [AttributeUsage (AttributeTargets.Method, Inherited = true)]\r
-       public sealed class HttpMethodAttribute : Attribute {\r
-\r
-               #region Fields\r
-\r
-               Type parameterFormatter;\r
-               Type returnFormatter;\r
-\r
-               #endregion\r
-\r
-               #region Constructors\r
-\r
-               public HttpMethodAttribute () \r
-               {\r
-               }\r
-\r
-               public HttpMethodAttribute (Type returnFormatter, Type parameterFormatter) \r
-                       : this ()\r
-               {\r
-                       this.parameterFormatter = parameterFormatter;\r
-                       this.returnFormatter = returnFormatter;\r
-               }\r
-               \r
-               #endregion // Constructors\r
-\r
-               #region Properties\r
-\r
-               public Type ParameterFormatter {\r
-                       get { return parameterFormatter; }\r
-                       set { parameterFormatter = value; }\r
-               }\r
-\r
-               public Type ReturnFormatter {\r
-                       get { return returnFormatter; }\r
-                       set { returnFormatter = value; }\r
-               }\r
-\r
-               #endregion // Properties\r
-       }\r
-}\r
+
+namespace System.Web.Services.Protocols {
+       [AttributeUsage (AttributeTargets.Method, Inherited = true)]
+       public sealed class HttpMethodAttribute : Attribute {
+
+               #region Fields
+
+               Type parameterFormatter;
+               Type returnFormatter;
+
+               #endregion
+
+               #region Constructors
+
+               public HttpMethodAttribute () 
+               {
+               }
+
+               public HttpMethodAttribute (Type returnFormatter, Type parameterFormatter) 
+                       : this ()
+               {
+                       this.parameterFormatter = parameterFormatter;
+                       this.returnFormatter = returnFormatter;
+               }
+               
+               #endregion // Constructors
+
+               #region Properties
+
+               public Type ParameterFormatter {
+                       get { return parameterFormatter; }
+                       set { parameterFormatter = value; }
+               }
+
+               public Type ReturnFormatter {
+                       get { return returnFormatter; }
+                       set { returnFormatter = value; }
+               }
+
+               #endregion // Properties
+       }
+}