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
[System.Runtime.InteropServices.RuntimeInformation] Updated to reference copied files...
[mono-project.git]
/
mono
/
tests
/
generic-static-methods.2.cs
blob
d16005fb9bd62bb6de403be8d72aad1e7b2600b5
1
using
System
;
2
3
public class
Gen
<
T
> {
4
public static
T
[]
method
<
S
> () {
5
return new
T
[
3
];
6
}
7
}
8
9
public class
main
{
10
public static int
Main
() {
11
if
(
Gen
<
object
>.
method
<
string
> ().
GetType
() !=
typeof
(
object
[]))
12
return
1
;
13
return
0
;
14
}
15
}