a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
309 B
C#
24 lines
309 B
C#
using System.Collections.Generic;
|
|
using System;
|
|
|
|
static class TT
|
|
{
|
|
static void Method<T> (this IEnumerable<T> e, Func<T, bool> f)
|
|
{
|
|
}
|
|
|
|
public static void Test<U> (U u) where U : IList<string>
|
|
{
|
|
u.Method (l => l != null);
|
|
}
|
|
}
|
|
|
|
|
|
class A
|
|
{
|
|
public static void Main ()
|
|
{
|
|
TT.Test (new string[0]);
|
|
}
|
|
}
|