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
Fix FxCop warning CA1018 (attributes should have AttributeUsage)
[mono-project.git]
/
mcs
/
errors
/
cs1706.cs
blob
5407ee669c00555652e5e626604d72b840f02961
1
// CS1706: Anonymous methods and lambda expressions cannot be used in the current context
2
// Line: 13
3
4
using
System
;
5
6
delegate void
TestDelegate
();
7
8
class
MyAttr
:
Attribute
9
{
10
public
MyAttr
(
TestDelegate d
)
{ }
11
}
12
13
[
MyAttr
(
delegate
{} )]
14
class
C
15
{
16
}
17