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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
gcs0206.cs
blob
805577b47b2ed5ca21ace8125817fb114d84e290
1
// CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter
2
// Line: 14
3
4
class
C
5
{
6
static void
Foo
(
ref object
o
)
7
{
8
}
9
10
public static void
Main
()
11
{
12
var
v
=
new
{ Foo = "Bar" }
;
13
14
Foo
(
ref
v
.
Foo
);
15
}
16
}