2010-05-31 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs1944-7.cs
blobf9ff69c54de6aebd158c7cec86eb90beb598a590
1 // CS1944: An expression tree cannot contain an unsafe pointer operation
2 // Line: 15
3 // Compiler options: -unsafe
5 using System;
6 using System.Linq.Expressions;
8 class C
10 unsafe delegate int* D ();
12 public static void Main ()
14 unsafe {
15 Expression<D> e = () => default (int*);