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

33 lines
392 B
C#

using System;
using Extra;
namespace Extra
{
static class S
{
public static int Prefix (this string s, string prefix)
{
return 1;
}
}
}
static class SimpleTest
{
public static int Prefix (this string s, string prefix, bool bold)
{
return 0;
}
}
public class M
{
public static int Main ()
{
var res = "foo".Prefix ("1");
if (res != 1)
return 1;
return 0;
}
}