summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-7.cs
blob: db51b615eaccc825b0b6b349003f3ba6734516c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0029: Cannot implicitly convert type `void' to `object'
// Line: 12

using System;
using System.Collections;

public class Test
{
	static void Main ()
	{
		Hashtable ht = new Hashtable ();
		ht ["a"] = Run ("Appointments");
	}

	public static void Run (string unit)
	{
	}
}