a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
23 lines
431 B
C#
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> ();
|
|
}
|
|
}
|