projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[#7637][Web]: This is supposed to fail prior to .NET 4.0.
[mono.git]
/
mcs
/
errors
/
cs1706-4.cs
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