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
[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git]
/
mcs
/
errors
/
cs1621.cs
blob
420e3772d7f52aef428f1cfb5759d4d623c6a5fd
1
// CS01621: 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
}