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
Merge pull request #1821 from iainx/replace-getline
[mono-project.git]
/
mcs
/
errors
/
cs1952.cs
blob
de515a3ed1795a2a6e214fff69511e172f98ff33
1
// CS1952: An expression tree cannot contain a method with variable arguments
2
// Line: 11
3
4
using
System
;
5
using
System
.
Linq
.
Expressions
;
6
7
class
C
8
{
9
void
Foo
()
10
{
11
Expression
<
Func
<
int
>>
e
= () =>
InstanceArgList
(
__arglist
(
0
));
12
}
13
14
int
InstanceArgList
(
__arglist
)
15
{
16
return
54
;
17
}
18
}