linux-packaging-mono/mcs/tests/gtest-lambda-20.cs

22 lines
219 B
C#
Raw Normal View History

public class Z
{
public Z ()
{
TestMethod tm = () => Test.Foo ();
}
}
public class Test
{
public static bool Foo ()
{
return true;
}
public static void Main ()
{
}
}
public delegate void TestMethod ();