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

gtest-393.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 17a5d8159a276474f2a9dd5a444cfeb0f7dd1b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class B<T>
{
}

[A(typeof (B<>))]
public class A : System.Attribute
{
	static int ret = 1;

	public A (System.Type type)
	{
		if (type == typeof (B<>))
			ret = 0;
	}

	public static int Main ()
	{
		typeof (A).GetCustomAttributes (true);
		return ret;
	}
}