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