projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Use temp directory for assemblies in SaveTest.Save() (#5727)
[mono.git]
/
mcs
/
errors
/
cs1764.cs
1
// CS1764: Cannot use fixed variable `p' inside an anonymous method, lambda expression or query expression
2
// Line: 10
3
// Compiler options: -unsafe
4
5
using System;
6
7
unsafe class Test
8
{
9
static int x;
10
11
static void Main ()
12
{
13
fixed (int* p = &x) {
14
Action a = () => { var pp = p; };
15
}
16
}
17
}