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
2010-04-13 Sebastien Pouliot <sebastien@ximian.com>
[mono-project.git]
/
mcs
/
tests
/
gtest-exmethod-06.cs
blob
82accf08185dd0e6302d08b3422a16eba7b8ba5a
1
2
3
public static class
Gen
4
{
5
public static
T Test_1
<
T
> (
this
T t
)
6
{
7
return default
(
T
);
8
}
9
10
public static string
Test_1
<
T
> (
this string
s
)
11
{
12
return
":"
;
13
}
14
}
15
16
namespace
B
17
{
18
public class
M
19
{
20
public static void
Main
()
21
{
22
""
.
Test_1
();
23
4
.
Test_1
();
24
new
M
().
Test_1
();
25
26
//null.Test_1();
27
}
28
}
29
}