linux-packaging-mono/mcs/tests/test-partial-25.cs

18 lines
234 B
C#
Raw Normal View History

using System;
partial class C
{
static partial void Partial (int i = 8);
static partial void Partial (int i)
{
if (i != 8)
throw new ApplicationException ();
}
public static int Main ()
{
Partial ();
return 0;
}
}