blob: 887684ba7bad38f16a2f03814d991676b0572091 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// CS1706: Anonymous methods and lambda expressions cannot be used in the current context
// Line: 13
using System;
delegate int TestDelegate();
class MyAttr : Attribute
{
public MyAttr (TestDelegate d) { }
}
[MyAttr (() => 1)]
class C
{
}
|