<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0229</ErrorName>
  <Examples>
    <string>// CS0229: Ambiguity between `IList.Test' and `ICounter.Test'
// Line: 26

using System;

delegate void Foo ();

interface IList 
{
	event Foo Test;
}

interface ICounter 
{
	event Foo Test;
}

interface IListCounter: IList, ICounter
{
}

class Test
{
	static void Foo (IListCounter t)
	{
		t.Test += null;
	}
}</string>
    <string>// CS0229: Ambiguity between `TestLib.FOO' and `TestLib.FOO'
// Line: 9
// Compiler options: -r:CS0229-3-lib.dll

public class Test
{
   public static void Main()
   {
      System.Console.WriteLine(TestLib.FOO);
   }
}
</string>
    <string>// CS0229: Ambiguity between `TestLib.FOO()' and `TestLib.FOO'
// Line: 9
// Compiler options: -r:CS0229-4-lib.dll

public class Test
{
   public static void Main()
   {
      System.Console.WriteLine(TestLib.FOO);
   }
}
</string>
    <string>// CS0229: Ambiguity between `Program.I1.Id' and `Program.I2.Id'
// Line: 18

static class Program
{
	public interface I1
	{
		string Id { get; }
	}

	public interface I2
	{
		int Id { get; }
	}

	static void Generic&lt;T&gt; (T item) where T : I1, I2
	{
		var a = item.Id;
	}
}
</string>
    <string>// CS0229: Ambiguity between `A.N' and `B.N'
// Line: 26

using static A;
using static B;

class A
{
	public class N
	{
		public static void Foo ()
		{
		}
	}
}

class B
{
	public static int N;
}

class Test
{
	public static void Main ()
	{
		N.Foo ();
	}
}</string>
    <string>// CS0229: Ambiguity between `IList.Count' and `ICounter.Count'
// Line: 24

using System;

interface IList 
{
	int Count { set; }
}

interface ICounter 
{
	int Count { set; }
}

interface IListCounter: IList, ICounter
{
}

class Test
{
	static void Foo (IListCounter t)
	{
		t.Count = 9; 
	}
}</string>
  </Examples>
</ErrorDocumentation>