linux-packaging-mono/mcs/tests/gtest-optional-37.cs

19 lines
234 B
C#
Raw Normal View History

using System;
class Test1
{
static object Foo (int arg = 1, int arg2 = 2)
{
return null;
}
static object Foo (object arg, object arg2)
{
return null;
}
public static void Main ()
{
Func<int, int, object> o = Foo;
}
}