[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0278-2.cs
blob7d58bd388b02420d013a7fa549935120996f696f
1 // CS0278: `IListCounter' contains ambiguous implementation of `enumerable' pattern. Method `IList.GetEnumerator()' is ambiguous with method `ICounter.GetEnumerator()'
2 // Line: 26
3 // Compiler options: -warnaserror -warn:2
5 using System;
6 using System.Collections;
8 interface IList
10 IEnumerator GetEnumerator ();
13 interface ICounter
15 IEnumerator GetEnumerator ();
18 interface IListCounter: IList, ICounter
22 class Test
24 static void Foo (IListCounter t)
26 foreach (var e in t)