summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1501-14.cs
blob: 991088d8b1a01717d5ecc9caf989c6ca7ab2edf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS1501: No overload for method `Foo' takes `0' arguments
// Line: 15

using System;
using System.Runtime.InteropServices;

public class C
{
	public static void Foo ([DefaultParameterValue(null)] string s)
	{
	}

	public static void Main ()
	{
		Foo ();
	}
}