repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
use a 2.0 network stack for MONOTOUCH
[mcs.git]
/
errors
/
cs1624-2.cs
blob
45ef0c59f7188cd089a7149bb46d665e3f7ce9a5
1
// cs1624-2.cs: The body of `X.this[int].set' cannot be an iterator block because `void' is not an iterator interface type
2
// Line: 15
3
using
System
;
4
using
System
.
Collections
;
5
6
class
X
7
{
8
IEnumerator
this
[
int
u
]
9
{
10
get
{
11
yield return
1
;
12
yield return
2
;
13
yield return
3
;
14
}
15
set
16
{
17
yield return
3
;
18
}
19
}
20
}