diff options
author | Jose <jose@zeroc.com> | 2016-01-20 10:36:51 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-01-20 10:36:51 +0100 |
commit | 13f4fd6d3cc5a044db66d9c25319419bb4ede5fa (patch) | |
tree | c230ae28caba40ac1f939fbedb5fd780d49fad0c /csharp/src | |
parent | ICE-6861 - removing public stream API (diff) | |
download | ice-13f4fd6d3cc5a044db66d9c25319419bb4ede5fa.tar.bz2 ice-13f4fd6d3cc5a044db66d9c25319419bb4ede5fa.tar.xz ice-13f4fd6d3cc5a044db66d9c25319419bb4ede5fa.zip |
ice_name/ice_id fixes & simplifications.
Diffstat (limited to 'csharp/src')
-rw-r--r-- | csharp/src/Ice/Exception.cs | 5 | ||||
-rw-r--r-- | csharp/src/IceSSL/RFC2253.cs | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/csharp/src/Ice/Exception.cs b/csharp/src/Ice/Exception.cs index ed7d23cf69b..1bcec9271cf 100644 --- a/csharp/src/Ice/Exception.cs +++ b/csharp/src/Ice/Exception.cs @@ -76,7 +76,10 @@ namespace Ice /// </summary> /// <returns>The name of this exception.</returns> [System.Obsolete("ice_name() is deprecated, use ice_id() instead.")] - public abstract string ice_name(); + public string ice_name() + { + return ice_id().Substring(2); + } /// <summary> /// Returns the type id of this exception. diff --git a/csharp/src/IceSSL/RFC2253.cs b/csharp/src/IceSSL/RFC2253.cs index 117ece7c955..6daf0d150ce 100644 --- a/csharp/src/IceSSL/RFC2253.cs +++ b/csharp/src/IceSSL/RFC2253.cs @@ -32,9 +32,9 @@ namespace IceSSL } internal string - ice_name() + ice_id() { - return "RFC2253::ParseException"; + return "::RFC2253::ParseException"; } internal string reason; |