<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0106</ErrorName>
  <Examples>
    <string>// CS0106: The modifier `unsafe' is not valid for this item
// Line: 5
// Compiler options: -unsafe

unsafe enum E
{
}
</string>
    <string>// CS0106: The modifier `virtual' is not valid for this item
// Line: 7

class C
{
	public int Foo {
		virtual set { }
	}
}
</string>
    <string>// CS0106: The modifier `readonly' is not valid for this item
// Line: 6
// Compiler option: -langversion:latest

readonly interface I
{
}
</string>
    <string>// CS0106: The modifier `sealed' is not valid for this item
// Line: 6

struct S
{
	public sealed override int GetHashCode ()
	{
		return 1;
	}
}
</string>
    <string>// CS0106: The modifier `public' is not valid for this item
// Line: 8
interface A {
	void B ();
}

class X : A {
	public virtual void A.B () {}

	static void Main () {}
}

</string>
    <string>// CS0106: The modifier `static' is not valid for this item
// Line: 6

class Data
{
	public static delegate int Count ();
}
</string>
    <string>// CS0106: The modifier `volatile' is not valid for this item
// Line: 8
// Compiler options: -unsafe

public unsafe struct S
{
		volatile fixed char b[8];
}

</string>
    <string>// CS0106: The modifier `async' is not valid for this item
// Line: 6

interface I
{
	async void M ();
}
</string>
    <string>// CS0106: The modifier `public' is not valid for this item
// Line: 6

class C
{
	public ~C ()
	{
	}
}
</string>
    <string>// CS0106: The modifier `abstract' is not valid for this item
// Line: 6

struct S
{
	public abstract int Prop {
		set {}
	}
}
</string>
    <string>// CS0106: The modifier `public' is not valid for this item
// Line: 6

interface S
{
	public void Foo ();
}
</string>
  </Examples>
</ErrorDocumentation>