summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0266-3.cs
blob: fc4bf9825ba8edcbe140dbaba64961364f0a90cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0266: Cannot implicitly convert type `object' to `System.Collections.ArrayList'. An explicit conversion exists (are you missing a cast?)
// Line: 12

using System.Collections;

class X
{
	static Hashtable h = new Hashtable ();

	public static void Main ()
	{
		ArrayList l = h ["hola"] = new ArrayList ();
	}
}