[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0467.cs
blobb37716a557c835340cad2c08a80b650bcc35c7d2
1 // CS0467: Ambiguity between method `IMethod.Count()' and invocable non-method `IList.Count'. Using method group
2 // Line: 27
3 // Compiler options: -warn:2 -warnaserror
5 using System;
7 delegate void D (int i);
9 interface IList
11 D Count { get; }
14 interface IMethod
16 int Count ();
19 interface IListCounter: IList, IMethod
23 class Test
25 static void Foo (IListCounter t)
27 t.Count ();