* SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
[mono.git] / mcs / class / System.Web / System.Web.UI / ValidationPropertyAttribute.cs
index b47c3a8807d778f06d46e284270c50e0b4392b30..01281a6f00292f56eab4cb2239bd7c1d2f62f1ef 100644 (file)
@@ -9,7 +9,7 @@
 using System;
 
 namespace System.Web.UI {
-       [AttributeUsage (AttributeTarget.Class)]
+       [AttributeUsage (AttributeTargets.Class)]
        public sealed class ValidationPropertyAttribute : Attribute
        {
                string name;
@@ -19,7 +19,7 @@ namespace System.Web.UI {
                        this.name = name;
                }
 
-               public override string Name {
+               public string Name {
                        get { return name; }
                }
        }