for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs1944.cs
blob5b5668a24a8811754c5e394384655fc14d76d4c5
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 public static void Main ()
12 unsafe {
13 int*[] p = null;
14 Expression<Func<int>> e6 = () => (int)p [10];