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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs4012-2.cs
blob
206c89aee27f87dff2120ed3e6415ac044c82203
1
// CS4012: Parameters or local variables of type `System.TypedReference' cannot be declared in async methods or iterators
2
// Line: 9
3
4
using
System
;
5
using
System
.
Collections
;
6
7
class
C
8
{
9
public
IEnumerable
Iter
()
10
{
11
int
i
=
2
;
12
TypedReference tr
=
__makeref
(
i
);
13
yield return
1
;
14
}
15
}