2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs1928-2.cs
blob9a1b23a750970583b53a3d672142055fac998194
1 // CS1928: Type `Test.mFoo' does not contain a member `Frobnicate' and the best extension method overload `Extensions.Frobnicate<Test>(this Test)' has some invalid arguments
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> ();