"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / errors / cs1764.cs
blobf8a89b25659474ba368650c02a016c41b8197656
1 // CS1764: Cannot use fixed local `p' inside an anonymous method, lambda expression or query expression
2 // Line: 10
3 // Compiler options: -unsafe
5 using System;
7 unsafe class Test
9 static int x;
11 static void Main ()
13 fixed (int* p = &x) {
14 Action a = () => { var pp = p; };