[bcl] Update BCL Linked Size
[mono-project.git] / mcs / errors / cs0657-23.cs
blob193a6ae51d86002da58ab460bed77bfc781b698c
1 // CS0657: `field' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `param'. All attributes in this section will be ignored
2 // Line: 9
3 // Compiler options: -warnaserror -langversion:experimental
5 using System;
7 public class FieldAttribute : System.Attribute
11 class X ([field:FieldAttribute] int foo)
13 int v = foo;