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

28 lines
509 B
C#

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;
}
}