Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs1944-3.cs
blob3a5e310be772c9006ab4bed221f6ec2582ca0a1d
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 (int* i);
12 public static void Main ()
14 unsafe {
15 Expression<D> e = p => *p;