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
/
cs1629.cs
blob
7a6a3ed2ec39d966cd3c18b70b0d2b336fea2fb5
1
// CS1629: Unsafe code may not appear in iterators
2
// Line: 8
3
// Compiler options: -unsafe
4
5
using
System
.
Collections
;
6
7
class
X
{
8
static unsafe
IEnumerator
GetIt
()
9
{
10
yield return
1
;
11
}
12
13
}