<?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>CS1501</ErrorName>
  <Examples>
    <string>// cs1501-10.cs: No overload for method `Base' takes `0' arguments
// Line: 12
class Base {
	Base (string x)
	{
	}
}

// Notice how there is no invocation to "base (something)"

class Derived : Base {
	Derived ()
	{
	}
}
</string>
    <string>// cs1501-11.cs: 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 `A.Foo' takes `1' arguments
// Line: 15

public class A
{
	public class Foo
	{
	}
}

class Example
{
	public void Main(string[] args)
	{
		A a = new A.Foo ("test");  
	}
}</string>
    <string>// cs1501-2.cs: No overload for method `X' takes `0' arguments
// Line: 11
class X {

	X (int a)
	{
	}
	
	static void Main ()
	{
		new X ();
	}
}
	
</string>
    <string>// cs1501-3.cs: No overload for method `X' takes `2' arguments
// Line: 8

public struct X {
        public X(int i) { }
        
        public static void Main() {
                X x = new X("foo", "bar");
        }
}
</string>
    <string>// cs1501-4.cs : No overload for method `IgnoreAttribute' takes `0' arguments
// Line: 14

using System;

public class IgnoreAttribute : Attribute {

        public IgnoreAttribute (String name) { }
}

class C {
        
	[Ignore]
	public void Method ()
	{
	}
}
</string>
    <string>// CS1501: No overload for method `Blah.MyDelegate' takes `0' arguments
// Line : 17

public class Blah {

	public delegate int MyDelegate (int i, int j);

	public int Foo (int i, int j)
	{
		return i+j;
	}

	public static void Main ()
	{
		Blah i = new Blah ();

		MyDelegate del = new MyDelegate ();
	}
}

</string>
    <string>// cs1501-6.cs: No overload for method `System.Runtime.CompilerServices.IndexerNameAttribute' takes `4' arguments
// Line: 5

class MainClass {
        [System.Runtime.CompilerServices.IndexerName("A", "", "", "")]
        int this [int index] {
                get {
                        return 0;
                }
        }
    
}

</string>
    <string>// cs1501-7.cs: No overload for method `A' takes `1' arguments
// Line: 6

public class A {
    A[] test = {
        new A("test")
    };
}
</string>
    <string>// cs1501-8.cs: No overload for method `cs0143Test.A' takes `2' arguments
// Line: 11 

namespace cs0143Test
{
	public class A
	{
		static void Main ()
		{
			string b="text";
			int c=2;
			
			A  a = new A (b, c);
		}
	}
}
</string>
    <string>// cs1501-9.cs: No overload for method `System.CLSCompliantAttribute' takes `0' arguments
// Line: 6

using System;

[assembly:CLSCompliant()]

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