blob: 33fc4d6b74bb6d28f2c8c9d50ccfc5e7722949d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// CS1944: An expression tree cannot contain an unsafe pointer operation
// Line: 15
// Compiler options: -unsafe
using System;
using System.Linq.Expressions;
class C
{
unsafe delegate int* D (int* i);
public static void Main ()
{
unsafe {
Expression<D> e = p => p + 1;
}
}
}
|