summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1982.cs
blob: 344638fe9c319820e212a3b36a0805714052c703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// CS1982: An attribute argument cannot be dynamic expression
// Line: 13

using System;

class AAttribute : Attribute
{
	public AAttribute (dynamic X)
	{
	}
}

[A (Test.B)]
class Test
{
	public static dynamic B;

	static void Main ()
	{
	}
}