[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git] / mcs / errors / cs1929-2.cs
blob9982fef4de9919536548d7e963821ca39b5db22a
1 // CS1929: Type `System.Collections.IList' does not contain a member `Frobnicate' and the best extension method overload `Extensions.Frobnicate<Test>(this Test)' requires an instance of type `Test'
2 // Line: 20
4 using System;
5 using System.Collections;
7 static class Extensions
9 public static void Frobnicate<T> (this T foo) where T : IList
14 public class Test
16 IList mFoo;
18 void Frobnicate ()
20 mFoo.Frobnicate<Test> ();