Fix for running against RabbitMQ 2.2
[mono.git] / mcs / class / System.Web / System.Web.UI / PostBackOptions.cs
index 19aaf99911873897e9ca48bb8edf939a9a57995e..25368becb7220d2f967f2671fa06ba8287a0ba00 100644 (file)
@@ -4,7 +4,7 @@
 // Authors:
 //      Sanjay Gupta (gsanjay@novell.com)
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2010 Novell, Inc (http://www.novell.com)
 //
 //
 // Permission is hereby granted, free of charge, to any person obtaining
@@ -27,7 +27,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 using System;
 using System.ComponentModel;
 
@@ -35,15 +34,15 @@ namespace System.Web.UI
 {
        public sealed class PostBackOptions
        {
-               private Control control;
-               private string argument;
-               private string actionUrl;
-               private bool autoPostBack;
-               private bool requiresJavaScriptProtocol;
-               private bool trackFocus;
-               private bool clientSubmit;
-               private bool performValidation;
-               private string validationGroup;
+               Control control;
+               string argument;
+               string actionUrl;
+               bool autoPostBack;
+               bool requiresJavaScriptProtocol;
+               bool trackFocus;
+               bool clientSubmit;
+               bool performValidation;
+               string validationGroup;
 
                public PostBackOptions (Control targetControl)
                        : this (targetControl, null, null, false, false, false, true, false, null)
@@ -141,5 +140,3 @@ namespace System.Web.UI
                }
        }
 }
-
-#endif