26 lines
348 B
C#
Raw Normal View History

using System;
namespace Test
{
public abstract class CustomParentAttribute : Attribute
{
public abstract void DoSomething ();
}
[CustomChild]
public class MyClass
{
private sealed class CustomChildAttribute : CustomParentAttribute
{
public override void DoSomething ()
{
}
}
public static void Main ()
{
}
}
}