2007-03-19 Chris Toshok <toshok@ximian.com>
[mono-project.git] / mcs / errors / gcs1640.cs
blob6060443b44b3be57c0c27fa5b83d058d67e6496a
1 // CS1640: foreach statement cannot operate on variables of type `T' because it contains multiple implementation of `System.Collections.Generic.IEnumerable<T>.GetEnumerator()'. Try casting to a specific implementation
2 // Line: 11
4 using System.Collections.Generic;
6 public class C
8 public static void Test<T>(T t)
9 where T: IEnumerable<string>, IEnumerable<int>
11 foreach (int i in t)