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
[xbuild] More tweaks for portable debug mode
[mono-project.git]
/
mcs
/
errors
/
cs0183-5.cs
blob
834f56583df266df06648390ab960a4e7cfda204
1
// CS0183: The given expression is always of the provided (`U') type
2
// Line: 14
3
// Compiler options: -warnaserror
4
5
abstract class
A
<
T
>
6
{
7
public abstract bool
Foo
<
U
> (
U arg
)
where U
:
T
;
8
}
9
10
class
B
:
A
<
int
>
11
{
12
public override bool
Foo
<
U
> (
U arg
)
13
{
14
return
arg
is
U
;
15
}
16
}