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 () { } }