a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
254 B
C#
17 lines
254 B
C#
// 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);
|
|
}
|
|
}
|