blob: f9ff69c54de6aebd158c7cec86eb90beb598a590 (
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 ();
public static void Main ()
{
unsafe {
Expression<D> e = () => default (int*);
}
}
}
|