diff options
Diffstat (limited to 'csharp/test/IceDiscovery/simple/Server.cs')
-rw-r--r-- | csharp/test/IceDiscovery/simple/Server.cs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/csharp/test/IceDiscovery/simple/Server.cs b/csharp/test/IceDiscovery/simple/Server.cs index 1a757522949..998df8ca95d 100644 --- a/csharp/test/IceDiscovery/simple/Server.cs +++ b/csharp/test/IceDiscovery/simple/Server.cs @@ -8,7 +8,6 @@ // ********************************************************************** using System; -using System.Diagnostics; using System.Reflection; [assembly: CLSCompliant(true)] @@ -26,9 +25,9 @@ public class Server int num = 0; try { - num = System.Int32.Parse(args[0]); + num = Int32.Parse(args[0]); } - catch(System.FormatException) + catch(FormatException) { } @@ -54,9 +53,9 @@ public class Server communicator = Ice.Util.initialize(ref args); status = run(args, communicator); } - catch(System.Exception ex) + catch(Exception ex) { - System.Console.Error.WriteLine(ex); + Console.Error.WriteLine(ex); status = 1; } @@ -68,7 +67,7 @@ public class Server } catch(Ice.LocalException ex) { - System.Console.Error.WriteLine(ex); + Console.Error.WriteLine(ex); status = 1; } } |