[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs0767.cs
blobd6a59c19b8e8ff33bda20009bf422f72ca6f49d0
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
4 interface I<T, U>
6 void Foo(ref U t);
7 void Foo(out T u);
10 class A : I<int, int>
12 void I<int, int>.Foo(ref int arg)
16 public virtual void Foo(out int arg)
18 arg = 8;