a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
26 lines
348 B
C#
26 lines
348 B
C#
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 ()
|
|
{
|
|
}
|
|
}
|
|
}
|