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

cs1742-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 203daf348277714bec65667c123f08af019d3417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS1742: An element access expression cannot use named argument
// Line: 13
// Compiler options: -unsafe -langversion:future

using System;

unsafe class C
{
	static void Main ()
	{
		int *p = null;

		if (p [value:10] == 4)
			return;
	}
}