projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Win32EventLog.cs: Fixed error messages. Use RegisterEventSource
[mono.git]
/
mcs
/
errors
/
cs1706.cs
1
// cs1706.cs: Anonymous methods are not allowed in the attribute declaration
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