<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0642</ErrorName>
  <Examples>
    <string>// CS0642: Possible mistaken empty statement
// Line: 9
// Compiler options: -warnaserror -warn:3 -unsafe -nowarn:0219

public class C
{
    public unsafe void Test ()
    {
        fixed (char *p = str);
            { }
    }

    static readonly char [] str = new char [] {'A'};
}

</string>
    <string>// CS0642: Possible mistaken empty statement
// Line: 9
// Compiler options: -warnaserror -warn:3

public class C
{
	public void Test ()
	{
		using (System.IDisposable arg = null);
		{ }
	}
}
</string>
    <string>// CS0642: Possible mistaken empty statement
// Line: 10
// Compiler options: -warnaserror -warn:3

public class C
{
    public static void Main ()
    {
        int i= 5;
        while (i++ &lt; 100);
            { }
    }
}

</string>
    <string>// CS0642: Possible mistaken empty statement
// Line: 10
// Compiler options: -warnaserror -warn:3

public class C
{
    public static void Main ()
    {
        for (;;);
            { }
    }
}

</string>
    <string>// CS0642: Possible mistaken empty statement
// Line: 9
// Compiler options: -warnaserror -warn:3

public class C
{
    public void Test (System.Collections.IEnumerable e)
    {
        foreach (object o in e);
            { }
    }
}

</string>
    <string>// CS0642: Possible mistaken empty statement
// Line: 9
// Compiler options: -warnaserror -warn:3

public class C
{
    public void Test (System.IDisposable arg)
    {
        using (arg);
            { }
    }
}

</string>
    <string>// CS0642: Possible mistaken empty statement
// Line: 9
// Compiler options: -warnaserror -warn:3

public class C
{
    public void Test ()
    {
        lock (this);
            { }
    }
}

</string>
    <string>// CS0642: Possible mistaken empty statement
// Line: 11
// Compiler options: /warnaserror /warn:3
using System;
public class C
{
	public static int p = 0;
	public static void Foo ()
	{
		if (p &lt; 5)
			;
		else
			Console.WriteLine ();
	}
}

</string>
    <string>// CS0642: Possible mistaken empty statement
// Line: 13
// Compiler options: /warnaserror /warn:3
using System;
public class C
{
	public static int p = 0;
	public static void Foo ()
	{
		if (p &lt; 5)
			Console.WriteLine ();
		else
			;
		Console.WriteLine ();
	}
}

</string>
    <string>// CS0642: Possible mistaken empty statement
// Line: 11
// Compiler options: /warnaserror /warn:3
using System;
public class C
{
	public static int p = 0;
	public static void Foo ()
	{
		if (p &lt; 5)
			;
		else
			Console.WriteLine ();
	}
}

</string>
    <string>// CS0642: Possible mistaken empty statement
// Line: 7
// Compiler options: -warnaserror -warn:3

class X{
	static void Main ()
	{
		if (true);
	}
}
</string>
  </Examples>
</ErrorDocumentation>