a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
207 B
C#
12 lines
207 B
C#
// CS0828: An anonymous type property `Value' cannot be initialized with `anonymous method'
|
|
// Line: 9
|
|
|
|
|
|
public class Test
|
|
{
|
|
static void Main ()
|
|
{
|
|
var v = new { Value = delegate () { return 1; } };
|
|
}
|
|
}
|