<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0617</ErrorName>
  <Examples>
    <string>// 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
{
}
</string>
    <string>// 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 short Foo { get; private set; }
}

[Foo (Foo = 1)]
public class Tests
{
}
</string>
    <string>// 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
// Line : 19

using System;

[AttributeUsage (AttributeTargets.Class, AllowMultiple = true)]
public class SimpleAttribute : Attribute
{
	string name;

	public readonly string MyNamedArg;

	public SimpleAttribute (string name)
	{
		this.name = name;
	}
}

[Simple ("Dummy", MyNamedArg = "Dude!")]
public class Blah {

	public static void Main ()
	{
	}
}
</string>
    <string>// 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
{
	internal int Foo;
}

[Foo (Foo = 1)]
public class Tests
{
}
</string>
    <string>// CS0617: `foo3' 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

class BazAttribute : System.Attribute 
{
	public object foo3 { set {} }
}

class Test 
{
	[Baz (foo3 = 3)] void f3() {}
}
</string>
  </Examples>
</ErrorDocumentation>