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