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

38 lines
357 B
C#

using System;
class C
{
public static void Main ()
{
}
void Test_1()
{
Action a =
() =>
Console.WriteLine ();
}
void Test_2()
{
Action a =
() =>
{
Console.WriteLine ();
};
}
void Test_3()
{
Action a = delegate
{
Console.WriteLine ();
};
}
void Test_Capturing_1(int arg)
{
Func<int> a =
() => arg;
}
}