repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0728.cs
blob
1e4b848372a149d2b55ecf436d229710cdb2574c
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
}