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

17 lines
222 B
C#

public class Foo {
delegate Inner foo_fn(string s);
public static void Main()
{
foo_fn f = delegate (string s) {
return new Inner(s + s);
};
f ("Test");
}
class Inner
{
public Inner (string s)
{ }
}
}