<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0152</ErrorName>
  <Examples>
    <string>// CS0152: The label `case 2:' already occurs in this switch statement
// Line: 19

using System;

enum E
{
	Foo = 2
}

class X
{
	void Foo (E e)
	{
		switch (e)
		{
			case E.Foo:
				break;
			case E.Foo:
				break;
		}
	}
}
</string>
    <string>// CS0152: The label `case 1:' already occurs in this switch statement
// Line: 9
class X {
	void f (int i)
	{
		switch (i){
		case 1:
			break;
		case 1:	
			break;
		}
	}
}
</string>
    <string>// CS0152: The label `case 0:' already occurs in this switch statement
// Line: 13

// https://bugzilla.novell.com/show_bug.cgi?id=363791

class Test {
  enum Foo { MUL, JL }
  static Foo f;
  public static void Main ()
  {
    switch (f) {
    case Foo.MUL: break;
    case Foo.MUL: break;
    }
  }
}
</string>
  </Examples>
</ErrorDocumentation>