summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/objects/UnexpectedObjectExceptionTestI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/objects/UnexpectedObjectExceptionTestI.cs')
-rw-r--r--csharp/test/Ice/objects/UnexpectedObjectExceptionTestI.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/csharp/test/Ice/objects/UnexpectedObjectExceptionTestI.cs b/csharp/test/Ice/objects/UnexpectedObjectExceptionTestI.cs
index 3b60d92de60..515177c414a 100644
--- a/csharp/test/Ice/objects/UnexpectedObjectExceptionTestI.cs
+++ b/csharp/test/Ice/objects/UnexpectedObjectExceptionTestI.cs
@@ -14,11 +14,11 @@ public sealed class UnexpectedObjectExceptionTestI : Ice.Blobject
public override bool ice_invoke(byte[] inParams, out byte[] outParams, Ice.Current current)
{
Ice.Communicator communicator = current.adapter.getCommunicator();
- Ice.OutputStream @out = Ice.Util.createOutputStream(communicator);
+ Ice.OutputStream @out = new Ice.OutputStream(communicator);
@out.startEncapsulation(current.encoding, Ice.FormatType.DefaultFormat);
AlsoEmpty ae = new AlsoEmpty();
- Test.AlsoEmptyHelper.write(@out, ae);
- @out.writePendingObjects();
+ @out.writeValue(ae);
+ @out.writePendingValues();
@out.endEncapsulation();
outParams = @out.finished();
return true;