Merge pull request #4615 from alexanderkyte/string_error_handling
[mono.git] / mcs / errors / cs0186.cs
1 // CS0186: Use of null is not valid in this context
2 // Line: 8
3
4 using System.Collections;
5
6 class ClassMain {    
7         public static void Main() {
8                 foreach (System.Type type in (IEnumerable)null) {
9                 }                    
10         }
11 }
12