<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS1503</ErrorName>
  <Examples>
    <string>// CS1503: Argument `#1' cannot convert `System.RuntimeArgumentHandle' expression to type `__arglist'
// Line: 10

using System;

class C
{
	void Foo (__arglist)
	{
		InstanceArgList (__arglist);
	}
	
	int InstanceArgList (__arglist)
	{
		return 54;
	}
}
</string>
    <string>// CS1503: Argument `#1' cannot convert `null' expression to type `__arglist'
// Line: 8

class C
{
	void Foo ()
	{
		InstanceArgList (null);
	}
	
	int InstanceArgList (__arglist)
	{
		return 54;
	}
}
</string>
    <string>// CS1503: Argument `#1' cannot convert `bool' expression to type `int[]'
// Line: 13

public class X
{
	public static void Test (params int[] a)
	{
	}

	public static void Main()
	{
		int i;
		Test (true);
	}
}
</string>
    <string>// CS1503: Argument `#1' cannot convert `int[]' expression to type `int'
// Line: 12

class C
{
	static void Foo (params int[] i)
	{
	}
	
	public static void Main ()
	{
		Foo (new int[1], 1);
	}
}
</string>
    <string>// CS1503: Argument `#1' cannot convert `A' expression to type `B'
// Line: 17

class A { }
class B : A { }

class Test
{
	static void Foo (out B b)
	{
		b = new B ();
	}

	static void Main ()
	{
		A a;
		Foo (out a);
	}
}
</string>
    <string>// CS1503: Argument `#5' cannot convert `void' expression to type `object'
// Line: 14

using System;

public class foo
{
	public static void voidfunc()
	{
	}

	public static void Main()
	{
		Console.WriteLine ("Whoops: {0} {1}", 0, 1, 2, voidfunc());
	}
}
</string>
    <string>// CS1503: Argument `#1' cannot convert `object' expression to type `int'
// Line: 16

using System;

class T
{
	public void M1 (int i, params object[] args) {}
}

class MainClass
{
	static void Main ()
	{
		T t = new T ();
		t.M1 (new object ());
	}
}
</string>
    <string>// CS1503: Argument `#1' cannot convert `long' expression to type `ulong'
// Line: 17

class A
{
	public static long Prop {
		get {
			return 1;
		}
	}
}

class Test
{
	static void Main ()
	{
		Foo (A.Prop);
	}
	
	static void Foo (ulong l)
	{
	}
}
</string>
    <string>// CS1503: Argument `#1' cannot convert `method group' expression to type `IInterface'
// Line: 15

public delegate void Del ();

public interface IInterface
{
	void Do ();
}

public static class Test
{
	public static void Do (IInterface val)
	{
		Do (val.Do);
	}
}
</string>
    <string>// CS1503: Argument `#1' cannot convert `__arglist' expression to type `object'
// Line: 14

using System;

class Program
{
	static void Foo (object o)
	{
	}

	static void Main ()
	{
		Foo (__arglist (null));
	}
}
</string>
    <string>// CS1503: Argument `#1' cannot convert `int' expression to type `bool'
// Line: 15

class A
{
	public static void Foo (bool test)
	{
	}
}

class B
{
	public static void Main()
	{
		A.Foo (1);
	}
}
</string>
  </Examples>
</ErrorDocumentation>