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
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
[mcs.git]
/
tests
/
gtest-016.cs
blob
bf6b51bedd775506d0566f105557c53dfa301aac
1
// A generic method may also use the type parameters
2
// from its enclosing type.
3
4
class
Stack
<
S
>
5
{
6
public static void
Hello
<
T
> (
S s
,
T t
)
7
{ }
8
}
9
10
class
X
11
{
12
Stack
<
int
>
stack
;
13
14
static void
Main
()
15
{
16
}
17
}