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
2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git]
/
errors
/
gcs0309-4.cs
blob
6606028ada2c210790112f4b4f25f37a718f02b5
1
// gcs0309.cs: The type `U' must be convertible to `System.IComparable' in order to use it as parameter `T' in the generic type or method `A<T>'
2
// Line: 13
3
4
using
System
;
5
6
class
A
<
T
>
7
where T
:
IComparable
8
{
9
}
10
11
class
B
<
U
,
V
>
12
where V
:
A
<
U
>
13
{
14
}
15
16
class
Driver
17
{
18
public static void
Main
()
19
{
20
}
21
}