<?xml version="1.0" encoding="iso-8859-1"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS0229</ErrorName>
  <Examples>
    <string>// cs0229.cs: Ambiguity between `IList.Count' and `ICounter.Count (int)'
// Line: 30
using System;

interface IList {
	int Count { get; set; }
}

interface ICounter {
	void Count (int i);
}

interface IListCounter: IList, ICounter {}


class ListCounter : IListCounter {
	int IList.Count {
		get { Console.WriteLine ("int IList.Count.get"); return 1; }
		set { Console.WriteLine ("int IList.Count.set"); }
	}
	
	void ICounter.Count (int i)
	{
		Console.WriteLine ("int ICounter.Count (int i)");
	}
	
	static void Main ()
	{
		IListCounter t = new ListCounter ();
		t.Count = 1;
	}
}</string>
    <string>// cs0229.cs: Ambiguity between `IList.Count' and `ICounter.Count (int)'
// Line: 30
using System;

interface IList {
	int Count { get; set; }
}

interface ICounter {
	void Count (int i);
}

interface IListCounter: IList, ICounter {}


class ListCounter : IListCounter {
	int IList.Count {
		get { Console.WriteLine ("int IList.Count.get"); return 1; }
		set { Console.WriteLine ("int IList.Count.set"); }
	}
	
	void ICounter.Count (int i)
	{
		Console.WriteLine ("int ICounter.Count (int i)");
	}
	
	static void Main ()
	{
		IListCounter t = new ListCounter ();
		t.Count (1); 
	}
}</string>
  </Examples>
</ErrorDocumentation>