Add support for ToolsVersion and correctly build msbuild+xbuild assemblies
[mono.git] / mcs / class / System.Web / System.Web.UI / ControlValuePropertyAttribute.cs
index c697b12cec6176e000e28d0c8b2a36e675c861dc..5810a86b19545a6e02404cd956ee87571939c207 100644 (file)
@@ -4,7 +4,7 @@
 // Authors:
 //     Sanjay Gupta (gsanjay@novell.com)
 //
-// (C) 2004 Novell, Inc. (http://www.novell.com)
+// (C) 2004-2010 Novell, Inc. (http://www.novell.com)
 //
 
 //
@@ -27,7 +27,6 @@
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-#if NET_2_0
 using System;
 using System.ComponentModel;
 
@@ -35,9 +34,9 @@ namespace System.Web.UI {
        [AttributeUsage (AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
        public sealed class ControlValuePropertyAttribute : Attribute
        {
-               private string propertyName;
-               private object propertyValue;
-               private Type propertyType;
+               string propertyName;
+               object propertyValue;
+               Type propertyType;
 
                public ControlValuePropertyAttribute (string propName) 
                {
@@ -79,7 +78,6 @@ namespace System.Web.UI {
                public override int GetHashCode ()
                {
                        return base.GetHashCode();
-               }               
+               }
        }
 }
-#endif