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

test-273.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: deedc0b128c8c1d9eed31f209cdd9619062454b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;

public class FooAttribute : Attribute {
	public char [] Separator;
}

[Foo (Separator = new char[] {'A'})]
public class Tests {
	public static void Main () {
		FooAttribute foo = (FooAttribute) (typeof (Tests).GetCustomAttributes (false) [0]);
		Console.WriteLine (foo.Separator);
	}
}