summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2cs/Gen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index b514079f08d..ed7f4eea4f7 100644
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -2282,9 +2282,9 @@ Slice::Gen::TypeIdVisitor::generateHelperClass(const ContainedPtr& p)
string name = fixId(p->name());
_out << sp;
emitGeneratedCodeAttribute();
- _out << nl << "public sealed class " << name;
+ _out << nl << "public abstract class " << name;
_out << sb;
- _out << nl << "public global::" << getNamespace(p) << "." << name << " targetClass { get; }";
+ _out << nl << "public abstract global::" << getNamespace(p) << "." << name << " targetClass { get; }";
_out << eb;
}