diff options
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; |