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
2009-07-16 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
gtest-exmethod-20.cs
blob
6a26af3c70175a4694e1306074a16b949ff5fe66
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
interface
I
5
{
6
}
7
8
namespace
Outer
.
Inner
9
{
10
class
Test
{
11
static void
M
(
I list
)
12
{
13
list
.
AddRange
(
new
Test
[
0
]);
14
}
15
16
static void
Main
()
17
{
18
}
19
}
20
}
21
22
namespace
Outer
{
23
static class
ExtensionMethods
{
24
public static void
AddRange
<
T
>(
this
I list
,
IEnumerable
<
T
>
items
)
25
{
26
}
27
}
28
}