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
resync
[mcs.git]
/
errors
/
cs0206.cs
blob
3fe60407e6a4dc31bdbc7b5462208640afb8b83f
1
// cs0206.cs: A property or indexer `X.P' may not be passed as an out or ref parameter
2
// Line:
3
class
X
{
4
static int
P { get { return 1; }
set
{ }
}
5
6
static int
m
(
out int
v
)
7
{
8
v
=
1
;
9
return
1
;
10
}
11
12
static void
Main
()
13
{
14
m
(
out
P
);
15
}
16
}