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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0206-4.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