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
[bcl] Update BCL Linked Size
[mono-project.git]
/
mcs
/
errors
/
cs1624-2.cs
blob
763e4d4a44439c5d5a7a2836f7c1f95fb29441d0
1
// CS1624: 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
}