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

gcs1944.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5b5668a24a8811754c5e394384655fc14d76d4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS1944: An expression tree cannot contain an unsafe pointer operation
// Line: 14
// Compiler options: -unsafe

using System;
using System.Linq.Expressions;

class C
{
	public static void Main ()
	{
		unsafe {
			int*[] p = null;
			Expression<Func<int>> e6 = () => (int)p [10];
		}
	}
}