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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0029-28.cs
blob
edf32a855c573be24b74f1a421079ba252c07178
1
// CS0029: Cannot implicitly convert type `T[]' to `U[]'
2
// Line: 8
3
4
class
Test
5
{
6
static void
Main
()
7
{
8
Foo
<
int
,
object
> (
new int
[]
{ 1 }
);
9
}
10
11
static
U
[]
Foo
<
T
,
U
> (
T
[]
arg
)
where T
:
U where U
:
class
12
{
13
return
arg
;
14
}
15
}