[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class SaledClass: Attribute
{
public SaledClass(string name)
{
Name = name;
}
public string Name { get; private set; }
}
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class Names: SaledClass
{
}