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
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs0728-3.cs
blob
640f8da4c364619ea675f0ce0f74df5b75b1151a
1
// CS0728: Possibly incorrect assignment to `s' which is the argument to a using or lock statement
2
// Line: 12
3
// Compiler options: -warnaserror
4
5
public class
Foo
6
{
7
public static void
Test
(
ref string
s
)
8
{
9
lock
(
s
) {
10
lock
(
s
) {}
11
s
=
null
;
12
}
13
}
14
}