2010-06-04 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs1944-6.cs
blob60efab1f9753888cb91d80a5bf93c458fb898261
1 // CS1944: An expression tree cannot contain an unsafe pointer operation
2 // Line: 14
3 // Compiler options: -unsafe
5 using System;
6 using System.Linq.Expressions;
8 class C
10 unsafe delegate byte* D (int*[] d);
11 public static void Main ()
13 unsafe {
14 Expression<D> e6 = (p) => (byte*)p [10];