/* The managed call is still owner of the sent string */ public static void in_string() { { var obj = new Dummy.TestObject(); String sent = "in_string"; String returned = obj.InString(sent); Test.AssertEquals(sent, returned); } System.GC.Collect(); }