diff options
Diffstat (limited to 'csharp/test/Ice/properties/Client.cs')
-rw-r--r-- | csharp/test/Ice/properties/Client.cs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/csharp/test/Ice/properties/Client.cs b/csharp/test/Ice/properties/Client.cs index 6c99535b9f4..1ec20a77e75 100644 --- a/csharp/test/Ice/properties/Client.cs +++ b/csharp/test/Ice/properties/Client.cs @@ -8,7 +8,6 @@ // ********************************************************************** using System; -using System.Diagnostics; using System.Reflection; [assembly: CLSCompliant(true)] @@ -23,7 +22,7 @@ public class Client { if(!b) { - throw new System.Exception(); + throw new Exception(); } } @@ -62,9 +61,9 @@ public class Client c.main(args, "./config/中国_client.config"); Console.Out.WriteLine("ok"); } - catch(System.Exception ex) + catch(Exception ex) { - System.Console.Error.WriteLine(ex); + Console.Error.WriteLine(ex); status = 1; } @@ -82,9 +81,9 @@ public class Client test(properties.getProperty("Config3").Equals("Config3")); Console.Out.WriteLine("ok"); } - catch(System.Exception ex) + catch(Exception ex) { - System.Console.Error.WriteLine(ex); + Console.Error.WriteLine(ex); status = 1; } @@ -124,9 +123,9 @@ public class Client } Console.Out.WriteLine("ok"); } - catch(System.Exception ex) + catch(Exception ex) { - System.Console.Error.WriteLine(ex); + Console.Error.WriteLine(ex); status = 1; } |