projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Add new test
[mono.git]
/
mcs
/
errors
/
cs0728.cs
1
// CS0728: Possibly incorrect assignment to `token' which is the argument to a using or lock statement
2
// Line: 11
3
// Compiler options: -warnaserror
4
5
public class Foo
6
{
7
public static void Main ()
8
{
9
object token = new object ();
10
lock (token)
11
{
12
Foo2 (ref token);
13
}
14
}
15
16
static void Foo2 (ref object o)
17
{
18
}
19
}