<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS0642</ErrorName>
  <Examples>
    <string>// cs0642-10.cs: 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-2.cs: 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-3.cs: Possible mistaken empty statement
// Line: 10
// Compiler options: -warnaserror -warn:3

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

</string>
    <string>// cs0642-4.cs: 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-5.cs: 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-6.cs: Possible mistaken empty statement
// Line: 9
// Compiler options: -warnaserror -warn:3

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

</string>
    <string>// cs0642-7.cs : 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-8.cs : 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-9.cs : 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.cs: Possible mistaken empty statement
// Line: 7
// Compiler options: -warnaserror -warn:3

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