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
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs0185-2.cs
blob
3fa0fffe69b2da89f44d411e8599ca2218499fe6
1
// CS0185: `method group' is not a reference type as required by the lock statement
2
// Line: 15
3
4
class
MainClass
5
{
6
public static void
Main
()
7
{
8
lock
(
Bar
.
Buzz
) {
9
}
10
}
11
}
12
13
class
Bar
14
{
15
internal void
Buzz
()
16
{
17
}
18
}