// CS0767: Cannot implement interface `I' with the specified type parameters because it causes method `I.Foo(ref int)' to differ on parameter modifiers only // Line: 10 interface I { void Foo(ref U t); void Foo(out T u); } class A : I { void I.Foo(ref int arg) { } public virtual void Foo(out int arg) { arg = 8; } }