projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git]
/
mcs
/
errors
/
cs1624-2.cs
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
}