projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5260 from BrzVlad/fix-handler-block
[mono.git]
/
mcs
/
errors
/
cs1621-2.cs
1
// CS1621: The yield statement cannot be used inside anonymous method blocks
2
// Line: 12
3
4
using System;
5
using System.Collections;
6
7
public class Test
8
{
9
public IEnumerator Foo ()
10
{
11
Call (() => {
12
yield break;
13
});
14
15
yield break;
16
}
17
18
void Call (Action a)
19
{
20
}
21
}