repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ilasm] Don't break arguments compatiblity
[mono-project.git]
/
mcs
/
errors
/
cs1706-4.cs
blob
887684ba7bad38f16a2f03814d991676b0572091
1
// CS1706: Anonymous methods and lambda expressions cannot be used in the current context
2
// Line: 13
3
4
using
System
;
5
6
delegate int
TestDelegate
();
7
8
class
MyAttr
:
Attribute
9
{
10
public
MyAttr
(
TestDelegate d
)
{ }
11
}
12
13
[
MyAttr
(() =>
1
)]
14
class
C
15
{
16
}
17