linux-packaging-mono/mcs/tests/gtest-exmethod-41.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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]);
}
}