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
[cominterop] Default to [in] parameter direction when not specified explicitly.
[mono-project.git]
/
mcs
/
errors
/
cs0206.cs
blob
2b5a11327847dec09f86a373aba4e18e691d54fc
1
// CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter
2
// Line: 15
3
4
class
X
{
5
static int
P { get { return 1; }
set
{ }
}
6
7
static int
m
(
out int
v
)
8
{
9
v
=
1
;
10
return
1
;
11
}
12
13
static void
Main
()
14
{
15
m
(
out
P
);
16
}
17
}