[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs1982.cs
1 // CS1982: An attribute argument cannot be dynamic expression
2 // Line: 13
3
4 using System;
5
6 class AAttribute : Attribute
7 {
8         public AAttribute (dynamic X)
9         {
10         }
11 }
12
13 [A (Test.B)]
14 class Test
15 {
16         public static dynamic B;
17
18         static void Main ()
19         {
20         }
21 }