repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
gcs1952.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
}