language: C# (mono-2.8)
date: 562 days 22 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
 
public class Test
{
        public static void Foo(Action Bar)
        {
                Bar();
        }
 
        public static void Main()
        {
                Foo(Bar: () => {
                        Console.LineWrite("42");
                });
        }
}
prog.cs(13,33): error CS0117: `System.Console' does not contain a definition for `LineWrite'
/usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings