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-07-20 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
gcs0206.cs
blob
36be34da8019d92f24929e7004c8650354eaf98e
1
// CS0206: A property or indexer `anonymous type.Foo' may not be passed as `ref' or `out' parameter
2
// Line: 14
3
4
5
class
C
6
{
7
static void
Foo
(
ref object
o
)
8
{
9
}
10
11
public static void
Main
()
12
{
13
var
v
=
new
{ Foo = "Bar" }
;
14
15
Foo
(
ref
v
.
Foo
);
16
}
17
}