/* The managed call is *not* the owner of the string put in the out argument */ public static void out_string() { { String str = String.Empty; var obj = new Dummy.TestObject(); obj.OutString(out str); Test.AssertEquals("out_string", str); } System.GC.Collect(); }