using System;
namespace System.Web.UI {
- [AttributeUsage (AttributeTarget.Class)]
+ [AttributeUsage (AttributeTargets.Class)]
public sealed class ValidationPropertyAttribute : Attribute
{
string name;
this.name = name;
}
- public override string Name {
+ public string Name {
get { return name; }
}
}