blob: 805577b47b2ed5ca21ace8125817fb114d84e290 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter
// Line: 14
class C
{
static void Foo (ref object o)
{
}
public static void Main ()
{
var v = new { Foo = "Bar" };
Foo (ref v.Foo);
}
}
|