summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cs/Gen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cs/Gen.cpp')
-rw-r--r--cpp/src/slice2cs/Gen.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index 7c00c5afff0..cc588231114 100644
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -3708,14 +3708,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
_out << sp << nl << "#endregion"; // Constructors
- _out << sp;
- emitGeneratedCodeAttribute();
- _out << nl << "[_System.Obsolete(\"ice_name() is deprecated, use ice_id() instead.\")]";
- _out << nl << "public override string ice_name()";
- _out << sb;
- _out << nl << "return \"" << p->scoped().substr(2) << "\";";
- _out << eb;
-
+ _out << sp;
emitGeneratedCodeAttribute();
_out << nl << "public override string ice_id()";
_out << sb;