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
[2020-02] Avoid following invalid pointers in mono_w32process_get_modules on Darwin...
[mono-project.git]
/
mono
/
tests
/
generic-array-type.2.cs
blob
5e5074b12dfe253b40badf3e8b5ed08c3137edfd
1
using
System
;
2
3
public class
Gen
<
T
> {
4
public
Type
arrayType
() {
5
return typeof
(
T
[]);
6
}
7
}
8
9
public class
main
{
10
public static int
Main
() {
11
Gen
<
string
>
gs
=
new
Gen
<
string
> ();
12
13
if
(
gs
.
arrayType
() !=
typeof
(
string
[]))
14
return
1
;
15
return
0
;
16
}
17
}