projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mcs
/
tests
/
test-524.cs
1
using System;
2
3
public class Foo
4
{
5
public static int Main ()
6
{
7
try {
8
lock (null) {
9
return 1;
10
}
11
} catch (ArgumentNullException) {
12
}
13
14
for (int i = 0; i < 3; ++i) {
15
object token = new object ();
16
17
lock (token)
18
{
19
token = null;
20
}
21
}
22
23
return 0;
24
}
25
}