linux-packaging-mono/mcs/tests/test-named-08.cs

28 lines
509 B
C#
Raw Normal View History

using System;
class C
{
static int Foo (string packageId, int version)
{
return Foo (packageId, version, ignoreDependencies: false, allowPrereleaseVersions: false);
}
static int Foo (string packageId, int version, bool ignoreDependencies, bool allowPrereleaseVersions)
{
return 1;
}
static int Foo (double package, bool ignoreDependencies, bool allowPrereleaseVersions, bool ignoreWalkInfo)
{
return 2;
}
public static int Main ()
{
if (Foo ("", 1) != 1)
return 1;
return 0;
}
}