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
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs0029-25.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
}