blob: d524ae6a859413617bea9dc85914c310d7d99627 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// CS0815: An implicitly typed local variable declaration cannot be initialized with `void'
// Line: 17
using System;
using System.Collections.Generic;
class A
{
static void Test (Action a)
{
}
public static void Main ()
{
Test (() => {
List<string> l = null;
var res = l.ForEach (g => { });
});
}
}
|