summaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-12-17 11:46:37 +0100
committerBenoit Foucher <benoit@zeroc.com>2018-12-17 11:47:02 +0100
commitf7652d39e6ce2b3730343af11db81b8365ccc09d (patch)
tree621b01835cde7a22dc5dc25871f97f3b1ef4eda0 /csharp/src
parentUpdate to NuGet 4.9.2 (diff)
downloadice-f7652d39e6ce2b3730343af11db81b8365ccc09d.tar.bz2
ice-f7652d39e6ce2b3730343af11db81b8365ccc09d.tar.xz
ice-f7652d39e6ce2b3730343af11db81b8365ccc09d.zip
Fixed quoting of UnexpectedObjectException message
Diffstat (limited to 'csharp/src')
-rw-r--r--csharp/src/Ice/Exception.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/csharp/src/Ice/Exception.cs b/csharp/src/Ice/Exception.cs
index e97c25aedd5..4f640970f2c 100644
--- a/csharp/src/Ice/Exception.cs
+++ b/csharp/src/Ice/Exception.cs
@@ -41,8 +41,8 @@ namespace IceInternal
Debug.Assert(false);
}
- throw new Ice.UnexpectedObjectException("expected element of type `" + expected + "' but received '" + type,
- type, expected);
+ throw new Ice.UnexpectedObjectException("expected element of type `" + expected + "' but received `" +
+ type + "'", type, expected);
}
public static void throwMemoryLimitException(int requested, int maximum)