2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs1640.cs
blob35eed6527f1d2354c41524431fd7e971dd6ba3ac
1 // CS1640: foreach statement cannot operate on variables of type `T' because it contains multiple implementation of `System.Collections.Generic.IEnumerable<T>'. 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)