aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/csharp/csharp_field_base.h
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2015-07-03 12:45:36 +0100
committerJon Skeet <jonskeet@google.com>2015-07-10 11:42:56 +0100
commit5b9288e47d7add219717d472aa95a5cfe1141ac9 (patch)
tree4c5013e008bde3b0425d61efd2c85f80fbb6afb8 /src/google/protobuf/compiler/csharp/csharp_field_base.h
parentf8c151f21e821371c55d1cd02b89ac1b8f50460f (diff)
downloadprotobuf-5b9288e47d7add219717d472aa95a5cfe1141ac9.tar.gz
protobuf-5b9288e47d7add219717d472aa95a5cfe1141ac9.tar.bz2
protobuf-5b9288e47d7add219717d472aa95a5cfe1141ac9.zip
Use the new JsonFormatter to implement ToString on generated messages.
Diffstat (limited to 'src/google/protobuf/compiler/csharp/csharp_field_base.h')
-rw-r--r--src/google/protobuf/compiler/csharp/csharp_field_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_field_base.h b/src/google/protobuf/compiler/csharp/csharp_field_base.h
index 349d835b..bffa2062 100644
--- a/src/google/protobuf/compiler/csharp/csharp_field_base.h
+++ b/src/google/protobuf/compiler/csharp/csharp_field_base.h
@@ -58,6 +58,7 @@ class FieldGeneratorBase : public SourceGeneratorBase {
virtual void WriteHash(io::Printer* printer) = 0;
virtual void WriteEquals(io::Printer* printer) = 0;
+ // Currently unused, as we use reflection to generate JSON
virtual void WriteToString(io::Printer* printer) = 0;
protected: