summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/properties/Client.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/properties/Client.cs')
-rw-r--r--csharp/test/Ice/properties/Client.cs21
1 files changed, 10 insertions, 11 deletions
diff --git a/csharp/test/Ice/properties/Client.cs b/csharp/test/Ice/properties/Client.cs
index e70ca7fbed6..ed77b6b4007 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,12 +61,12 @@ 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;
}
-
+
//
// Try to load multiple config files.
//
@@ -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;
}
@@ -117,16 +116,16 @@ public class Client
"AServer", "\\\\server\\dir",
"BServer", "\\server\\dir",
""};
-
+
for(int i = 0; props[i].Length > 0; i += 2)
{
- test(properties.getProperty(props[i]).Equals(props[i + 1]));
+ test(properties.getProperty(props[i]).Equals(props[i + 1]));
}
Console.Out.WriteLine("ok");
}
- catch(System.Exception ex)
+ catch(Exception ex)
{
- System.Console.Error.WriteLine(ex);
+ Console.Error.WriteLine(ex);
status = 1;
}