Merge branch 'xml-fixes' of https://github.com/myeisha/mono into myeisha-xml-fixes
[mono-project.git] / mcs / errors / cs0617-4.cs
blob4f94f3b9a6f477f5969a87e2af440137a333ee2d
1 // CS0617: `Foo' 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: 11
4 using System;
6 public sealed class FooAttribute : Attribute
8 internal int Foo;
11 [Foo (Foo = 1)]
12 public class Tests