Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs1744-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b899816d213a0559308a45e9a133666833e61b5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS1744: Named argument `p1' cannot be used for a parameter which has positional argument specified
// Line: 8

internal class Program
{
	public static void Main ()
	{
		Method (1, 2, p1: 3);
	}
	
	static void Method (int p1, int paramNamed, int p2)
	{
	}
	
	static void Method (int p1, int p2, object paramNamed)
	{
	}
}