[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs1956.cs
blob36dc16aea0f831d239f71f1a891c7031cc6812da
1 // CS1956: The interface method `I<string>.M(out string)' implementation is ambiguous between following methods: `A<string,string>.M(out string)' and `A<string,string>.M(ref string)' in type `Test'
2 // Line: 17
3 // Compiler options: -warnaserror
5 interface I<T>
7 void M (out T x);
10 class A<T, U>
12 public virtual void M (out T t)
14 t = default (T);
17 public virtual void M (ref U u)
22 class Test : A<string, string>, I<string>
24 static void Main ()
26 I<string> x = new Test ();
27 string s;
28 x.M (out y);