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
2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
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
}