You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
22
mcs/tests/test-945.cs
Normal file
22
mcs/tests/test-945.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user