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