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
**** Merged from MCS ****
[mono-project.git]
/
mcs
/
errors
/
cs1673.cs
blob
0d4fdec4fbbf64cfe234d3175fe0b89acfc2aab2
1
// cs1673.cs: Not possible to use `this' in anonymous methods inside structs
2
// Line:
3
using
System
;
4
5
struct
S
{
6
delegate void
T
();
7
8
int
f
;
9
10
public int
Test
()
11
{
12
T t
=
delegate
{
13
f
=
1
;
14
};
15
return
0
;
16
}
17
18
static void
Main
()
19
{
20
}
21
}
22
23