<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1729</ErrorName>
  <Examples>
    <string>// CS1729: The type `C' does not contain a constructor that takes `2' arguments
// Line: 16

class C
{
	public C (int i)
	{
	}
}

public class Blah
{
	public static void Main ()
	{
		dynamic d = 1;
		var r = new C (1, d);
	}
}
</string>
    <string>// CS1729: The type `TestCases.ClassWithNonPublicConstructor' does not contain a constructor that takes `0' arguments
// Line: 10

namespace TestCases
{
	public class GmcsCtorBug
	{
		public static void Test ()
		{
			new ClassWithNonPublicConstructor ();
		}
	}

	public class ClassWithNonPublicConstructor
	{
		protected ClassWithNonPublicConstructor (int p)
		{
		}
	}
}
</string>
    <string>// CS1729: The type `IgnoreAttribute' does not contain a constructor that takes `0' arguments
// Line: 14

using System;

public class IgnoreAttribute : Attribute {

        public IgnoreAttribute (String name) { }
}

class C {
        
	[Ignore]
	public void Method ()
	{
	}
}
</string>
    <string>// CS1729: The type `A.Foo' does not contain a constructor that 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>// CS1729: The type `int' does not contain a constructor that takes `1' arguments
// Line: 8

class C
{
	static void Main ()
	{
		int i = new int(1);
	}
}

</string>
    <string>// CS1729:  The type `System.CLSCompliantAttribute' does not contain a constructor that takes `0' arguments
// Line: 6

using System;

[assembly:CLSCompliant()]

</string>
    <string>// CS1729: The type `X' does not contain a constructor that takes `0' arguments
// Line: 11
class X {

	X (int a)
	{
	}
	
	static void Main ()
	{
		new X ();
	}
}
	
</string>
    <string>// CS1729: The type `A' does not contain a constructor that takes `1' arguments
// Line: 6

public class A {
    A[] test = {
        new A("test")
    };
}
</string>
    <string>// CS1729: The type `object' does not contain a constructor that takes `1' arguments
// Line: 8

using System;

class C
{
	int a = "a";
	
	public C (string s)
		: base (1)
	{
	}
	
	public C (int i)
		: base (i)
	{
	}
}
</string>
    <string>// CS1729: The type `C.S' does not contain a constructor that takes `3' arguments
// Line: 15

class C
{
	struct S
	{
		public S (int i)
		{
		}
	}
	
	static void Main ()
	{
		S i = new S (1,1,1);
	}
}

</string>
    <string>// CS1729: The type `Base' does not contain a constructor that 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>// CS1729: The type `X' does not contain a constructor that takes `2' arguments
// Line: 8

public struct X {
        public X(int i) { }
        
        public static void Main() {
                X x = new X("foo", "bar");
        }
}
</string>
    <string>// CS1729: The type `CS0143Test.A' does not contain a constructor that takes `2' arguments
// Line: 13 

namespace CS0143Test
{
	public class A
	{
		static void Main ()
		{
			string b="text";
			int c=2;
			
			A  a = new A (b, c);
		}
	}
}
</string>
    <string>// CS1729: The type `System.Runtime.CompilerServices.IndexerNameAttribute' does not contain a constructor that takes `4' arguments
// Line: 5

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

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