<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1547</ErrorName>
  <Examples>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 10
class Foo&lt;T&gt;
{ }

class X
{
	static void Main ()
	{
		Foo&lt;void&gt; foo;
	}
}
</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 8

class X
{
	static void Main ()
	{
		object o = default(void);
	}
}
</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 8


class X
{
	static void Main ()
	{
		var e = from void v in new int [] { 0 } select i;
	}
}
</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 6

interface IA
{
	ref void Foo ();
}
</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 7
using System;

class X
{
	static void Main ()
	{
		void a;
	}
}
</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 6

class C {
	const string s = "3";
	public object o = (void)s;
}</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 5

class C {
        public const void val = null;
}</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 6

class C {
	static void Main () {
		int i = sizeof (void);
	}
}</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 6

class C {
	object o = new void();
}</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 6

class C
{
	int Foo ()
	{
		foreach (void v in this)
		{
		}
	}
}</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 8

class C
{
	static void Main ()
	{
		bool b = 1 is void;
	}
}</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 11

namespace OtherTest
{
	public static class Program
	{
		static void MainD (object p)
		{
			if (p is String)
				(void)((string) p).ToString ();
		}
	}
}
</string>
    <string>// CS1547: Keyword `void' cannot be used in this context
// Line: 9
using System;

class X
{
	static void Main ()
	{
		void[] a;
	}
}
</string>
  </Examples>
</ErrorDocumentation>