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 debugging code from generated code
[mono-project.git]
/
mcs
/
errors
/
cs0236-3.cs
blob
cd14ce2eecd966f3d4454affc0b2c40dd8c4730f
1
// CS0236: A field initializer cannot reference the nonstatic field, method, or property `Test.o1'
2
// Line: 8
3
delegate void
Foo
();
4
5
class
Test
6
{
7
object
o1
;
8
9
Foo h
=
delegate
() {
10
o1
=
null
;
11
};
12
}
13