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
**** Merged from MCS ****
[mono-project.git]
/
mcs
/
errors
/
gcs0425-2.cs
blob
f305366175c58d723f0285a9ba69372082e775cb
1
// CS0425: The constraints for type parameter `V' of method `Foo`1.Test()' must match the constraints for type parameter `U' of interface method `IFoo`1.Test()'. Consider using an explicit interface implementation instead
2
// Line: 13
3
interface
IFoo
<
T
>
4
{
5
void
Test
<
U
> ()
6
where U
:
T
;
7
}
8
9
class
Foo
<
T
> :
IFoo
<
T
>
10
{
11
public void
Test
<
V
> ()
12
where V
:
X
13
{ }
14
}
15
16
class
X
17
{
18
static void
Main
()
19
{ }
20
}