projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* default.build: Fix relative path to key. Avoid use of ugly foreach
[mono.git]
/
mcs
/
errors
/
cs1621.cs
1
// cs01621.cs: The yield statement cannot be used inside anonymous method blocks
2
// Line: 13
3
4
using System.Collections;
5
6
delegate object D ();
7
8
class C: IEnumerable
9
{
10
public IEnumerator GetEnumerator ()
11
{
12
D d = delegate {
13
yield return this;
14
};
15
}
16
}