Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0407-5.cs
blob1a50cb13cd02a89a70f3856cdd26c466c0bea1f0
1 // CS0407: A method or delegate `int int.Parse(string)' return type does not match delegate `object Test.Conv(string)' return type
2 // Line: 17
4 using System;
6 public class Test
8 private delegate object Conv(string str);
10 public static void Main()
12 Conv c = new Conv(int.Parse);