536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
23 lines
354 B
C#
23 lines
354 B
C#
public abstract class A
|
|
{
|
|
public abstract void Bind (string [] args);
|
|
}
|
|
|
|
public class B : A
|
|
{
|
|
public override void Bind (params string [] args)
|
|
{
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
var m = typeof (B).GetMethod ("Bind");
|
|
var p = m.GetParameters ();
|
|
var ca = p[0].GetCustomAttributes (false);
|
|
if (ca.Length != 0)
|
|
return 1;
|
|
|
|
return 0;
|
|
}
|
|
}
|