-// cs1501-4.cs : No overload for method `IgnoreAttribute' takes `0' arguments
-// Line: 14
+// CS1501: No overload for method `Foo' takes `3' arguments
+// Line: 12
-using System;
-
-public class IgnoreAttribute : Attribute {
-
- public IgnoreAttribute (String name) { }
-}
+class Test
+{
+ public static void Foo (string s = null, int value = 2)
+ {
+ }
-class C {
-
- [Ignore]
- public void Method ()
+ static void Main ()
{
+ Foo ("a", 2, 6);
}
}