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-3.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
}