[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git] / mcs / errors / cs0407-5.cs
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
3
4 using System;
5
6 public class Test
7 {
8         private delegate object Conv(string str);
9
10         public static void Main()
11         {
12                 Conv c = new Conv(int.Parse);
13         }
14 }