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
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs0029-30.cs
blob
4cf7d6cd7a3aa7a0d47a97d44b58a27f9baef74e
1
// CS0029: Cannot implicitly convert type `U' to `int'
2
// Line: 13
3
4
abstract class
A
<
T
>
5
{
6
public abstract void
Foo
<
U
> (
U arg
)
where U
:
T
;
7
}
8
9
class
B
:
A
<
int
>
10
{
11
public override void
Foo
<
U
> (
U arg
)
12
{
13
int
i
=
arg
;
14
}
15
}