20 lines
233 B
C#
Raw Permalink Normal View History

// CS1501: No overload for method `Foo' takes `2' arguments
// Line: 17
static class Extensions
{
public static string Foo (this string s)
{
return s;
}
}
public class M
{
public static void Main ()
{
1.Foo ("foo");
}
}