[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs0617.cs
blobb8d8ab726ed53c008998c80c4cfa361f549ca857
1 // CS0617: `MyNamedArg' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, const or read-write properties which are public and not static
2 // Line : 19
4 using System;
6 [AttributeUsage (AttributeTargets.Class, AllowMultiple = true)]
7 public class SimpleAttribute : Attribute
9 string name;
11 public readonly string MyNamedArg;
13 public SimpleAttribute (string name)
15 this.name = name;
19 [Simple ("Dummy", MyNamedArg = "Dude!")]
20 public class Blah {
22 public static void Main ()