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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
gtest-480.cs
blob
737e0e07d0ab0aa5e86a3b8332f6ed0553d6ce3a
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
interface
I
<
T
> :
ICollection
<
T
>,
IEnumerable
<
T
>
5
{
6
}
7
8
class
C
9
{
10
void
Foo
()
11
{
12
I
<
object
>
o
=
null
;
13
foreach
(
var
v
in
o
)
14
Console
.
WriteLine
(
v
);
15
}
16
17
public static void
Main
()
18
{
19
IList
<
int
>
list
=
new
List
<
int
>
{ 1, 3 }
;
20
var
g
=
list
.
GetEnumerator
();
21
}
22
}