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
[ilasm] Don't break arguments compatiblity
[mono-project.git]
/
mcs
/
tests
/
test-271.cs
blob
e75addd2a1112709c21ccaef52486d1bd389dfcd
1
using
System
;
2
using
System
.
Collections
;
3
4
class
T
{
5
struct
C
:
IEnumerable
{
6
public
IEnumerator
GetEnumerator
()
7
{
8
return new
ArrayList
().
GetEnumerator
();
9
}
10
}
11
12
static
C
X
()
13
{
14
return new
C
();
15
}
16
17
public static void
Main
()
18
{
19
foreach
(
object
o
in
X
())
20
;
21
}
22
}