linux-packaging-mono/mcs/tests/gtest-named-05.cs

26 lines
307 B
C#
Raw Normal View History

class Test
{
public static void Main ()
{
string p;
M (y: p = F (), x: p);
int i;
string p2;
M2 (out i, c: p2 = F (), b : p2);
}
public static void M (string x, string y)
{
}
static void M2 (out int a, string b, string c)
{
a = 2;
}
public static string F ()
{
return null;
}
}