summaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-01-20 10:36:51 +0100
committerJose <jose@zeroc.com>2016-01-20 10:36:51 +0100
commit13f4fd6d3cc5a044db66d9c25319419bb4ede5fa (patch)
treec230ae28caba40ac1f939fbedb5fd780d49fad0c /csharp/src
parentICE-6861 - removing public stream API (diff)
downloadice-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.cs5
-rw-r--r--csharp/src/IceSSL/RFC2253.cs4
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;