summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1503-6.cs
blob: 4f6d0ad60bfacb7ab47854f0a4e736272c7d6d78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 ());
	}
}