Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0815-3.cs
blob62c0850dccdd9289f5a8251790acc0d84f42981c
1 // CS0815: An implicitly typed local variable declaration cannot be initialized with `anonymous method'
2 // Line: 8
4 public class Test
6 static void Main ()
8 var l = x => x + 1;