2009-09-02 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0029-6.cs
bloba1a04fe4fbbee0cf2beb483af758b14210cec9b3
1 // CS0029: Cannot implicitly convert type `string' to `int'
2 // Line: 28
5 delegate string funcs (string s);
6 delegate int funci (int i);
8 class X
10 static void Foo (funci fi)
14 static void Foo (funcs fs)
18 static void Main ()
20 Foo (x => {
21 int a = "a";
22 return 2;
23 });