<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1661</ErrorName>
  <Examples>
    <string>// CS1661: Cannot convert `anonymous method' to delegate type `System.Predicate&lt;T&gt;' since there is a parameter mismatch
// Line: 8

class Test&lt;T&gt;
{
	void test (Test&lt;T&gt; t, System.Predicate&lt;T&gt; p)
	{
		test (t, delegate (Test&lt;T&gt; item) {
			return false;
		});
	}
}
</string>
    <string>// CS1661: Cannot convert `lambda expression' to delegate type `C.WithOutParam' since there is a parameter mismatch
// Line: 10

class C
{
	delegate void WithOutParam (out string value);

	static void Main() 
	{
		WithOutParam o = (string l) =&gt; { return; };
	}
}
</string>
    <string>// CS1661: Cannot convert `anonymous method' to delegate type `D' since there is a parameter mismatch
// Line: 9

delegate void D (int x);

class X {
	static void Main ()
	{
		D d2 = delegate (ref int x) {};
	}
}
</string>
  </Examples>
</ErrorDocumentation>