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
[interp] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
gtest-exmethod-13.cs
blob
9c778e771a4771bc6cd66fb9efed240e99b35278
1
2
3
using
System
;
4
using
System
.
Collections
.
Generic
;
5
6
public static class
Foo
7
{
8
public static
IEnumerable
<
T
>
Reverse
<
T
> (
this
IEnumerable
<
T
>
self
)
9
{
10
return
self
;
11
}
12
13
public static void
Main
()
14
{
15
int
[]
data
=
{0, 1, 2}
;
16
17
var
rev
=
data
.
Reverse
();
18
}
19
}