<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1501</ErrorName>
  <Examples>
    <string>// CS1501: No overload for method `TestCall' takes `1' arguments
// Line: 13

class C
{
	static void TestCall (byte b, int a)
	{
	}

	public static void Main ()
	{
		dynamic d = 0;
		TestCall (d);
	}
}
</string>
    <string>// CS1501: No overload for method `XCreateIC' takes `1' arguments
// Line: 16

using System;
using System.Runtime.InteropServices;

namespace System.Windows.Forms
{
        internal class X11Xim
        {
                [DllImport ("libX11", EntryPoint="XCreateIC")]
                internal extern static IntPtr XCreateIC(IntPtr xim, __arglist);

                public static void Main ()
                {
                        XCreateIC (IntPtr.Zero);
                }
        }
}


</string>
    <string>// CS1501: No overload for method `this' takes `1' arguments
// Line: 13

public class Blah
{
	int this [short id, string v] {
		set {}
	}

	public void Test ()
	{
		dynamic d = 1;
		this [d] = 1;
	}
}
</string>
    <string>// CS1501: No overload for method `Foo' takes `2' arguments
// Line: 13

static class C
{
	public static void Foo (this string s, int d, bool b)
	{
	}

	static void Main()
	{
		dynamic d = null;
		"x".Foo (d);
	}
}
</string>
    <string>// CS1501: No overload for method `Foo' takes `0' arguments
// Line: 15

using System;
using System.Runtime.InteropServices;

public class C
{
	public static void Foo ([DefaultParameterValue(null)] string s)
	{
	}

	public static void Main ()
	{
		Foo ();
	}
}
</string>
    <string>// CS1501: No overload for method `Foo' takes `1' arguments
// Line: 15

using System;

class MainClass
{
	public static void Main ()
	{
		int val = 2;
		Run (() =&gt; {
			if (val &gt; 3)
				return;

			Foo (5);
		});
	}

	static void Foo ()
	{
	}

	static void Run&lt;T&gt; (Func&lt;T&gt; func)
	{
	}

	static void Run&lt;T&gt; (Action act)
	{
	}
}
</string>
    <string>// CS1501: No overload for method `Block' takes `2' arguments
// Line: 12

class X
{
	public static void Block (object type, object variables, params object[] expressions)
	{
	}

	public static void Main ()
	{
		Block (variables: null, expressions: null);
	}
}</string>
    <string>// CS1501: No overload for method `Foo' takes `0' arguments
// Line: 12

class C
{
    static void Foo (string foo, params object [] moreFoo)
    {
    }

    static void Main ()
    {
        Foo ();
    }
}</string>
    <string>// CS1501: No overload for method `Bar' takes `2' arguments
// Line: 19

using System;

class T
{
	void Foo (int arg, Action a)
	{
	}

	void Foo (string title, Action a)
	{
	}

	void Bar ()
	{
		Foo (arg: 1, a: () =&gt; {
			Bar ("a", "b");
		});
	}
}</string>
    <string>// CS1501: No overload for method `Foo' takes `0' arguments
// Line: 20

class A
{
	protected virtual void Foo (object[] arr)
	{
	}
}

class B : A
{
	protected override void Foo (params object[] arr)
	{
	}

	static void Bar()
	{
		B b = new B ();
		b.Foo ();
	}
}
</string>
    <string>// CS1501: No overload for method `LogFileLine' takes `1' arguments
// Line: 12

class C
{
	static void LogFileLine (string file, string msg, params object [] args)
	{
	}
	
	public static void Main ()
	{
		LogFileLine ("aaa");
	}
}
</string>
    <string>// CS1501: No overload for method `Foo' takes `3' arguments
// Line: 12

class Test
{
	public static void Foo (string s = null, int value = 2)
	{
	}

	static void Main ()
	{
		Foo ("a", 2, 6);
	}
}
</string>
    <string>// CS1501: No overload for method `Foo' takes `1' arguments
// Line: 12

public class Test
{
	static void Foo (int a, int b = 1, int c = 2)
	{
	}
	
	public static void Main ()
	{
		Foo (c : -1);
	}
}

</string>
    <string>// CS1501: No overload for method `Foo' takes `2' arguments
// Line: 17


static class Extensions
{
	public static string Foo (this string s)
	{
		return s;
	}
}

public class M
{
	public static void Main ()
	{
		1.Foo ("foo");
	}
}
</string>
    <string>// CS1501: No overload for method `Select' takes `1' arguments
// Line: 17


using System;

class TestA
{
	public string value;
	
	public TestA (string value)
	{
		this.value = value;
	}
	
	public string Select (int i, Func&lt;TestA, TestA&gt; f)
	{
		return value;
	}
}

public class M
{
	static void Main ()
	{
		var v = new TestA ("Oh yes");
		string foo = from a in v select a;
	}
}
</string>
    <string>// CS1501: No overload for method `Foo' takes `0' arguments
// Line: 15

class Base&lt;T&gt;
{
	protected virtual void Foo&lt;U&gt; (U u)
	{
	}
}

class Derived&lt;T&gt; : Base&lt;int&gt;
{
    protected override void Foo&lt;U&gt; (U u)
    {
        base.Foo ();
    }
}
</string>
    <string>// CS1501: No overload for method `Test' takes `2' arguments
// Line: 16

static class S
{
	public static int Test (this int value)
	{
	return value;
	}
}

class M
{
	public static void Main ()
	{
		1.Test (value: 1);
	}
}
</string>
    <string>// CS1501: No overload for method `this' takes `2' arguments
// Line : 10

class C
{
	public bool this [int i] { get { return false; } set {} }
	
	void Foo ()
	{	C c = new C ();
		c [0, 0] = null;
	}
}
</string>
  </Examples>
</ErrorDocumentation>