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
2010-04-13 Sebastien Pouliot <sebastien@ximian.com>
[mono-project.git]
/
mcs
/
tests
/
test-247.cs
blob
32a09f2f9a66ce26e1fa0f100f5726e072a97ab6
1
using
System
;
2
using
System
.
Collections
;
3
4
struct
Blah
:
IEnumerable
{
5
IEnumerator IEnumerable
.
GetEnumerator
() {
6
return new
ArrayList
().
GetEnumerator
();
7
}
8
}
9
10
class
B
{
11
static void
Main
() {
12
foreach
(
object
o
in new
Blah
())
13
;
14
}
15
}