Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

23 lines
431 B
C#

// CS1928: Type `System.Collections.IList' does not contain a member `Frobnicate' and the best extension method overload `Extensions.Frobnicate<Test>(this Test)' has some invalid arguments
// Line: 20
using System;
using System.Collections;
static class Extensions
{
public static void Frobnicate<T> (this T foo) where T : IList
{
}
}
public class Test
{
IList mFoo;
void Frobnicate ()
{
mFoo.Frobnicate<Test> ();
}
}