Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d815c21
)
THRIFT-384. csharp: Fix handling of fields named "value"
author
David Reiss
<dreiss@apache.org>
Thu, 19 Mar 2009 20:33:15 +0000
(20:33 +0000)
committer
David Reiss
<dreiss@apache.org>
Thu, 19 Mar 2009 20:33:15 +0000
(20:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@756179
13f79535
-47bb-0310-9956-
ffa450edef68
compiler/cpp/src/generate/t_csharp_generator.cc
patch
|
blob
|
history
diff --git
a/compiler/cpp/src/generate/t_csharp_generator.cc
b/compiler/cpp/src/generate/t_csharp_generator.cc
index
df1d59c
..
9c073dc
100644
(file)
--- a/
compiler/cpp/src/generate/t_csharp_generator.cc
+++ b/
compiler/cpp/src/generate/t_csharp_generator.cc
@@
-1510,7
+1510,7
@@
void t_csharp_generator::generate_property(ofstream& out, t_field* tfield, bool
indent(out) << "set" << endl;
scope_up(out);
indent(out) << "__isset." << tfield->get_name() << " = true;" << endl;
- indent(out) << tfield->get_name() << " = value;" << endl;
+ indent(out) <<
"this." <<
tfield->get_name() << " = value;" << endl;
scope_down(out);
scope_down(out);
out << endl;