a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
33 lines
374 B
C#
33 lines
374 B
C#
using System;
|
|
|
|
public class AAttribute : Attribute
|
|
{
|
|
[AAttribute (1)]
|
|
public class BAttribute : AAttribute
|
|
{
|
|
public BAttribute ()
|
|
: base ()
|
|
{
|
|
}
|
|
|
|
public BAttribute (int a)
|
|
: base (a)
|
|
{
|
|
}
|
|
}
|
|
|
|
public AAttribute ()
|
|
{
|
|
}
|
|
|
|
protected AAttribute (int a)
|
|
{
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
typeof (BAttribute).GetCustomAttributes (true);
|
|
return 0;
|
|
}
|
|
}
|