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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
gcs0030.cs
blob
99ca9da44b5f4dd8725c52971dc09db0f49faf37
1
// CS0030: Cannot convert type `T' to `X'
2
// Line: 8
3
class
Foo
<
T
>
4
where T
:
System
.
ICloneable
5
{
6
public
X
Test
(
T t
)
7
{
8
return
(
X
)
t
;
9
}
10
}
11
12
class
X
13
{
14
static void
Main
()
15
{ }
16
}