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
* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git]
/
tests
/
gtest-285.cs
blob
c32e6e39a84428cb5ed5de9ed2997ae655991e58
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
public class
A
{
5
}
6
7
public class
B
:
A
{
8
}
9
10
public class
Tests
11
{
12
public static void
Main
()
13
{
14
IList
<
A
>
a
=
new
B
[
0
];
15
16
Console
.
WriteLine
(
typeof
(
IList
<
A
>).
IsAssignableFrom
(
typeof
(
B
[])));
17
}
18
}
19