<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1650</ErrorName>
  <Examples>
    <string>// CS1650: Fields of static readonly field `C.s' cannot be assigned to (except in a static constructor or a variable initializer)
// Line: 15

struct S
{
	public int x { get; set; }
}

class C
{
	static readonly S s;

	public static void Main (string[] args)
	{
		s.x = 42;
	}
}

</string>
    <string>// CS1650: Fields of static readonly field `C.s' cannot be assigned to (except in a static constructor or a variable initializer)
// Line: 14

using System;

struct S {
	public int x;
}

class C {
	static readonly S s;

	public static void Main(String[] args) {
		s.x = 42;
		Console.WriteLine(s.x);
	}
}

</string>
    <string>// CS1650: Fields of static readonly field `C&lt;T&gt;.t' cannot be assigned to (except in a static constructor or a variable initializer)
// Line: 17

using System;

interface I
{
	int X { get; set; }
}

class C&lt;T&gt; where T : struct, I
{
	static readonly T t;

	public static void Foo ()
	{
		t.X = 42;
	}
}
</string>
  </Examples>
</ErrorDocumentation>