Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-945.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 398787db29faee4ef50c33f4797e6360be0f65b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
	}
}