projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mcs
/
errors
/
gcs0030.cs
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
}