[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git] / mcs / errors / cs1706-4.cs
blob887684ba7bad38f16a2f03814d991676b0572091
1 // CS1706: Anonymous methods and lambda expressions cannot be used in the current context
2 // Line: 13
4 using System;
6 delegate int TestDelegate();
8 class MyAttr : Attribute
10 public MyAttr (TestDelegate d) { }
13 [MyAttr (() => 1)]
14 class C