summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0182-12.cs
blob: 2827f63c7bd0a71d09fd2c629970cd45e8470e6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 18

using System;

enum E
{ 
	Value
}

class AAttribute : Attribute
{ 
	public AAttribute (Enum e)
	{
	}
}

[A (E.Value)]
class Test
{
}