<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0236</ErrorName>
  <Examples>
    <string>// CS0236: A field initializer cannot reference the nonstatic field, method, or property `C1.CC'
// Line: 11

class C1
{
    public double CC = 0;
}

class C2
{
	public static readonly double X_Small2 = C1.CC;
}
</string>
    <string>// CS0236: A field initializer cannot reference the nonstatic field, method, or property `Test.o1'
// Line: 8
delegate void Foo ();

class Test
{
        object o1;

        Foo h = delegate () {
                o1 = null;
        };
}

</string>
    <string>// CS0236: A field initializer cannot reference the nonstatic field, method, or property `C.stuff'
// Line: 6

class C
{
	object stuff = stuff;
	
	public C (object stuff)
	{
	}
}
</string>
    <string>// CS0236: A field initializer cannot reference the nonstatic field, method, or property `X.Foo'
// Line: 12

class X
{
	int Foo {
		get {
			return 9;
		}
	}

	long Bar = Foo;

	static void Main () {
	}
}

</string>
  </Examples>
</ErrorDocumentation>