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
/
gcs0029.cs
blob
2fad06122f2be6c55b998cd560daf691b8c38ca9
1
// CS0029: Cannot implicitly convert type `Bar<long>' to `Foo<int>'
2
// Line: 15
3
class
Foo
<
T
>
4
{
5
}
6
7
class
Bar
<
T
> :
Foo
<
T
>
8
{
9
}
10
11
class
X
12
{
13
static void
Main
()
14
{
15
Foo
<
int
>
foo
=
new
Bar
<
long
> ();
16
}
17
}