15 lines
335 B
C#
Raw Normal View History

// 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
// Line: 11
using System;
public sealed class FooAttribute : Attribute
{
public static int Foo;
}
[Foo (Foo = 1)]
public class Tests
{
}