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
[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git]
/
mcs
/
errors
/
cs0767.cs
blob
d6a59c19b8e8ff33bda20009bf422f72ca6f49d0
1
// CS0767: Cannot implement interface `I<T,U>' with the specified type parameters because it causes method `I<int,int>.Foo(ref int)' to differ on parameter modifiers only
2
// Line: 10
3
4
interface
I
<
T
,
U
>
5
{
6
void
Foo
(
ref
U t
);
7
void
Foo
(
out
T u
);
8
}
9
10
class
A
:
I
<
int
,
int
>
11
{
12
void
I
<
int
,
int
>.
Foo
(
ref int
arg
)
13
{
14
}
15
16
public virtual void
Foo
(
out int
arg
)
17
{
18
arg
=
8
;
19
}
20
}