prog.cs(12,27): error CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter
prog.cs(12,17): error CS1502: The best overloaded method match for `Test.Foo(out int)' has some invalid arguments
prog.cs(6,21): (Location of the symbol related to previous error)
prog.cs(12,17): error CS1503: Argument `#1' cannot convert `object' expression to type `int'
Compilation failed: 3 error(s), 0 warnings