repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-04-15 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs1637.cs
blob
7e6237f7fa8f4433b4ddb10b66afab4e7bbb01fe
1
// CS1637: Iterators cannot have unsafe parameters or yield types
2
// Line: 6
3
// Compiler options: /unsafe
4
5
unsafe class
C
6
{
7
public
System
.
Collections
.
IEnumerator
GetEnumerator
(
int
*
p
)
8
{
9
yield return
1
;
10
}
11
12
}