[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs0029-40.cs
blob6d9167c31faaa96ee08fbd849d99dc48b3ad3e89
1 // CS0029: Cannot implicitly convert type `S' to `System.ValueType'
2 // Line: 16
3 // Compiler options: -langversion:latest
5 using System;
7 public ref struct S
11 class Test
13 public static void Main ()
15 var s = default (S);
16 ValueType s2 = s;
17 var res = default (S).ToString ();