<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0123</ErrorName>
  <Examples>
    <string>// CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters
// Line: 17

delegate IA TestDelegate(bool b);

interface IA {}

public class MainClass : IA
{
	static MainClass Delegate()
	{
		return null;
	}

	public static void Main()
	{
		TestDelegate delegateInstance = new TestDelegate (Delegate);
	}
}

</string>
    <string>// CS0123: A method or delegate `X.f1(int, object)' parameters do not match delegate `X.Function(int, int)' parameters
// Line: 13

using System;

class X
{
	public delegate bool Function(int arg1, int arg2);

	static void Main ()
	{
		Delegate [] d = new Delegate [] {
			new Function (f1),
		};
	}

	static bool f1 (int a, object b)
	{
		return false;
	}
}
</string>
    <string>// CS0123: A method or delegate `TestDelegateA(bool)' parameters do not match delegate `TestDelegateB(int)' parameters
// Line: 12

delegate int TestDelegateA (bool b);
delegate int TestDelegateB (int b);

public class MainClass
{
	public static int Delegate(bool b)
	{
		return 0;
	}

	public static void Main() 
	{
		TestDelegateA a = new TestDelegateA (Delegate);
		TestDelegateB b = new TestDelegateB (a);
	}
}

</string>
    <string>// CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters
// Line: 12

delegate int TestDelegate(bool b);

public class MainClass {
        public static int Delegate() {
                return 0;
        }

        public static void Main() {
                TestDelegate delegateInstance = new TestDelegate (Delegate);
       }
}

</string>
  </Examples>
</ErrorDocumentation>