projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of git://github.com/mono/mono
[mono.git]
/
mcs
/
errors
/
cs1706-2.cs
1
// CS1706: Anonymous methods and lambda expressions cannot be used in the current context
\r
2
// Line: 14
\r
3
\r
4
public delegate void Proc();
\r
5
\r
6
public class AAttribute : System.Attribute
\r
7
{
\r
8
public AAttribute(Proc p)
\r
9
{ }
\r
10
}
\r
11
\r
12
public class Class
\r
13
{
\r
14
[A((object)delegate { return; })]
\r
15
public void Foo()
\r
16
{
\r
17
}
\r
18
}
\r