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
/
cs0695-6.cs
blob
26721c16d35920539a29be280c5ece8d858d0606
1
// CS0695: `Test<T>.TestN' cannot implement both `C<T>.I' and `C<string>.I' because they may unify for some type parameter substitutions
2
// Line: 17
3
4
class
C
<
T
>
5
{
6
public interface
I
7
{
8
}
9
10
public class
N
:
C
<
string
>
11
{
12
}
13
}
14
15
class
Test
<
T
> :
C
<
T
>
16
{
17
class
TestN
:
I
,
N
.
I
18
{
19
}
20
}