summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/properties/Client.cs
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-05-11 16:51:13 +0200
committerJose <jose@zeroc.com>2016-05-11 16:51:13 +0200
commit20ead35bcd15c258b00da6b1a16d26107f8dea8b (patch)
tree0aa99a82b9d56383c76c372fc1050dfd5493b4e9 /csharp/test/Ice/properties/Client.cs
parentFixed make install issue (diff)
downloadice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.tar.bz2
ice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.tar.xz
ice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.zip
CSharp mapping cleanup
- Remove code support for old ussuported frameworks (SILVERLIGHT, COMPACT, MONO) - Remove code support for deprecated collection mappings clr:collection
Diffstat (limited to 'csharp/test/Ice/properties/Client.cs')
-rw-r--r--csharp/test/Ice/properties/Client.cs15
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;
}