1 // CS0197: Passing `T.bar' as ref or out or taking its address may cause a runtime exception because it is a field of a marshal-by-reference class
3 // Compiler options: -warnaserror -warn:1
6 class T
: MarshalByRefObject
{
9 static void Foo (ref int i
)