[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0407-7.cs
blobe6869b03731d46425534c9476c1ea4de156c47f6
1 // CS0407: A method or delegate `dynamic Program.Foo()' return type does not match delegate `string System.Func<string>()' return type
2 // Line: 10
4 using System;
6 class Program
8 static void Main()
10 Func<string> d = Foo;
13 static dynamic Foo ()
15 return 1;