summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cs
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-12-06 15:29:50 -0500
committerBernard Normier <bernard@zeroc.com>2016-12-06 15:29:50 -0500
commitf0cd76fdbbb386214704778ed125a1c9b64804f7 (patch)
treec25d2514d934a657722c46160e40833202f0e270 /cpp/src/slice2cs
parentRemoved or replaced most double underscores in ObjC (diff)
downloadice-f0cd76fdbbb386214704778ed125a1c9b64804f7.tar.bz2
ice-f0cd76fdbbb386214704778ed125a1c9b64804f7.tar.xz
ice-f0cd76fdbbb386214704778ed125a1c9b64804f7.zip
Updated generated slicedData data member for consistency with ObjC
Diffstat (limited to 'cpp/src/slice2cs')
-rw-r--r--cpp/src/slice2cs/Gen.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index a614e7e73a9..71c12deedcd 100644
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -824,7 +824,7 @@ Slice::CsVisitor::writeMarshaling(const ClassDefPtr& p)
_out << nl << "public override void iceWrite(Ice.OutputStream ostr_)";
_out << sb;
- _out << nl << "ostr_.startValue(iceSlicedData);";
+ _out << nl << "ostr_.startValue(iceSlicedData_);";
_out << nl << "iceWriteImpl(ostr_);";
_out << nl << "ostr_.endValue();";
_out << eb;
@@ -838,7 +838,7 @@ Slice::CsVisitor::writeMarshaling(const ClassDefPtr& p)
_out << sb;
_out << nl << "istr_.startValue();";
_out << nl << "iceReadImpl(istr_);";
- _out << nl << "iceSlicedData = istr_.endValue(true);";
+ _out << nl << "iceSlicedData_ = istr_.endValue(true);";
_out << eb;
}
@@ -1034,7 +1034,7 @@ Slice::CsVisitor::writeMarshaling(const ClassDefPtr& p)
if(preserved && !basePreserved)
{
- _out << sp << nl << "protected Ice.SlicedData iceSlicedData;";
+ _out << sp << nl << "protected Ice.SlicedData iceSlicedData_;";
}
_out << sp << nl << "#endregion"; // Marshalling support
@@ -2940,7 +2940,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
emitGeneratedCodeAttribute();
_out << nl << "public override void iceWrite(Ice.OutputStream ostr_)";
_out << sb;
- _out << nl << "ostr_.startException(iceSlicedData);";
+ _out << nl << "ostr_.startException(slicedData_);";
_out << nl << "iceWriteImpl(ostr_);";
_out << nl << "ostr_.endException();";
_out << eb;
@@ -2951,7 +2951,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
_out << sb;
_out << nl << "istr_.startException();";
_out << nl << "iceReadImpl(istr_);";
- _out << nl << "iceSlicedData = istr_.endException(true);";
+ _out << nl << "slicedData_ = istr_.endException(true);";
_out << eb;
}
@@ -3148,7 +3148,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
if(preserved && !basePreserved)
{
- _out << sp << nl << "protected Ice.SlicedData iceSlicedData;";
+ _out << sp << nl << "protected Ice.SlicedData slicedData_;";
}
_out << sp << nl << "#endregion"; // Marshalling support