<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0738</ErrorName>
  <Examples>
    <string>// CS0738: `B' does not implement interface member `I.Test(int)' and the best implementing candidate `B.Test(int)' return type `int' does not match interface member return type `void'
// Line: 9

interface I
{
	void Test (int a);
}

class B: I
{
	public int Test (int a)
	{
		return a;
	}
}
</string>
    <string>// CS738: `CB' does not implement interface member `IG&lt;IA&gt;.Method()' and the best implementing candidate `CA&lt;IB&gt;.Method()' return type `IB' does not match interface member return type `IA'
// Line: 29

public interface IA
{
}

public interface IB : IA
{
}

public interface IG&lt;out U&gt;
{
	U Method ();
}

public interface IDerived : IG&lt;IA&gt;
{
}

public abstract class CA&lt;T&gt; : IG&lt;T&gt;
{
	public T Method ()
	{
		return default (T);
	}
}

public class CB : CA&lt;IB&gt;, IG&lt;IA&gt;
{
}
</string>
    <string>// CS0738: `C' does not implement interface member `I2.Key.get' and the best implementing candidate `C.Key.get' return type `IB' does not match interface member return type `IA'
// Line: 22

public interface I1
{
	IB Key { get; }
}

public interface I2
{
	IA Key { get; }
}

public interface IB : IA
{
}

public interface IA
{
}

public class C : I1, I2
{
	public IB Key { get { return null; } }
}
</string>
  </Examples>
</ErrorDocumentation>