[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / errors / cs1501-14.cs
blob991088d8b1a01717d5ecc9caf989c6ca7ab2edf4
1 // CS1501: No overload for method `Foo' takes `0' arguments
2 // Line: 15
4 using System;
5 using System.Runtime.InteropServices;
7 public class C
9 public static void Foo ([DefaultParameterValue(null)] string s)
13 public static void Main ()
15 Foo ();