Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0266-15.cs
blob2ed45f823aeb7d009efe420f4b3a584fa0ff3d97
1 // CS0266: Cannot implicitly convert type `object' to `System.Collections.Hashtable'. An explicit conversion exists (are you missing a cast?)
2 // Line: 17
4 // This case actually tests that the compiler doesn't crash after reporting the error
6 using System.Collections;
8 class X {
9 static void Main (string [] install)
11 ArrayList order = new ArrayList ();
12 Hashtable states = new Hashtable ();
14 try {
15 if (install != null){
16 foreach (string inst in order){
17 Hashtable state = states [inst];
20 } catch {