22 lines
258 B
C#
22 lines
258 B
C#
|
using System;
|
||
|
|
||
|
[assembly: LibA ("b")]
|
||
|
|
||
|
public class LibBAttribute : Attribute {
|
||
|
public LibBAttribute (string s)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public class LibB : LibA {
|
||
|
public static new void A ()
|
||
|
{
|
||
|
LibA.A ();
|
||
|
}
|
||
|
|
||
|
public static void B ()
|
||
|
{
|
||
|
Console.WriteLine ("B");
|
||
|
}
|
||
|
}
|