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-17 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
dcs0206.cs
blob
2b6563c51c981de3f624c3602d4c53186aec6172
1
// CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter
2
// Line: 16
3
4
using
System
;
5
6
public class
Test
7
{
8
public static void
WriteOutData
(
out dynamic
d
)
9
{
10
d
=
5.0
;
11
}
12
13
public static void
Main
(
string
[]
args
)
14
{
15
dynamic
d
=
null
;
16
WriteOutData
(
out
d
.
Foo
);
17
}
18
}
19