using System.Collections.Generic; using System; static class TT { static void Method (this IEnumerable e, Func f) { } public static void Test (U u) where U : IList { u.Method (l => l != null); } } class A { public static void Main () { TT.Test (new string[0]); } }