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
/
gtest-287.cs
blob
211e8175a9e1d92ceaf869edbf7a68d980ad884e
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
interface
I
{
5
void
D
();
6
}
7
8
class
X
:
I
9
{
10
static void
Main
()
11
{
12
List
<
object
>
l
=
new
List
<
object
> ();
13
List
<
I
>
i
=
new
List
<
I
> ();
14
15
i
.
Add
(
new
X
());
16
17
l
.
AddRange
(
i
.
ToArray
());
18
}
19
20
public void
D
() {}
21
}
22