THRIFT-384. csharp: Fix handling of fields named "value"


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@756179 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/generate/t_csharp_generator.cc b/compiler/cpp/src/generate/t_csharp_generator.cc
index df1d59c..9c073dc 100644
--- a/compiler/cpp/src/generate/t_csharp_generator.cc
+++ b/compiler/cpp/src/generate/t_csharp_generator.cc
@@ -1510,7 +1510,7 @@
     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;