summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/serialize/Client.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/serialize/Client.cs')
-rw-r--r--csharp/test/Ice/serialize/Client.cs13
1 files changed, 1 insertions, 12 deletions
diff --git a/csharp/test/Ice/serialize/Client.cs b/csharp/test/Ice/serialize/Client.cs
index 91c6ad3d0eb..0fb56692d3e 100644
--- a/csharp/test/Ice/serialize/Client.cs
+++ b/csharp/test/Ice/serialize/Client.cs
@@ -8,10 +8,7 @@
// **********************************************************************
using System;
-using System.Diagnostics;
using System.Reflection;
-using System.Collections;
-using System.Collections.Generic;
[assembly: CLSCompliant(true)]
@@ -29,18 +26,10 @@ public class Client
try
{
Ice.InitializationData data = new Ice.InitializationData();
-#if COMPACT
- //
- // When using Ice for .NET Compact Framework, we need to specify
- // the assembly so that Ice can locate classes and exceptions.
- //
- data.properties = Ice.Util.createProperties();
- data.properties.setProperty("Ice.FactoryAssemblies", "client");
-#endif
communicator = Ice.Util.initialize(ref args, data);
status = AllTests.run(communicator);
}
- catch(System.Exception ex)
+ catch(Exception ex)
{
Console.Error.WriteLine(ex);
status = 1;