[amd64] Save missing register
[mono.git] / mcs / errors / cs0767.cs
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 }