[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0123-10.cs
blob43d5e5d6368cacc528ea29f8cf8076244c81fec0
1 // CS0123: A method or delegate `object.ToString()' parameters do not match delegate `System.Func<string>()' parameters
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 = new S ();
16 Func<string> f = s.ToString;