diff options
author | Jon Skeet <skeet@pobox.com> | 2015-12-17 13:10:16 +0000 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2015-12-17 13:10:16 +0000 |
commit | afbc89a263d57bb2e36ce5f07b979c739bb2e8cd (patch) | |
tree | 266ac3f5d092795012ff8aa851184c883cce95ed /csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs | |
parent | 33106681a5e630e9f81cdec0f0d7f98901dfc70f (diff) | |
parent | adee6fe33250502a497cac6dc6b259e2936cdf93 (diff) | |
download | protobuf-afbc89a263d57bb2e36ce5f07b979c739bb2e8cd.tar.gz protobuf-afbc89a263d57bb2e36ce5f07b979c739bb2e8cd.tar.bz2 protobuf-afbc89a263d57bb2e36ce5f07b979c739bb2e8cd.zip |
Merge pull request #1049 from jskeet/any-format
Handle Any formatting for diagnostic purposes
Diffstat (limited to 'csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs')
-rw-r--r-- | csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs b/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs index 5ff47ed2..3e9999e4 100644 --- a/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs +++ b/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs @@ -425,7 +425,7 @@ namespace Google.Protobuf.TestProtos { } public override string ToString() { - return pb::JsonFormatter.Default.Format(this); + return pb::JsonFormatter.ToDiagnosticString(this); } public void WriteTo(pb::CodedOutputStream output) { @@ -633,7 +633,7 @@ namespace Google.Protobuf.TestProtos { } public override string ToString() { - return pb::JsonFormatter.Default.Format(this); + return pb::JsonFormatter.ToDiagnosticString(this); } public void WriteTo(pb::CodedOutputStream output) { @@ -741,7 +741,7 @@ namespace Google.Protobuf.TestProtos { } public override string ToString() { - return pb::JsonFormatter.Default.Format(this); + return pb::JsonFormatter.ToDiagnosticString(this); } public void WriteTo(pb::CodedOutputStream output) { @@ -851,7 +851,7 @@ namespace Google.Protobuf.TestProtos { } public override string ToString() { - return pb::JsonFormatter.Default.Format(this); + return pb::JsonFormatter.ToDiagnosticString(this); } public void WriteTo(pb::CodedOutputStream output) { @@ -1121,7 +1121,7 @@ namespace Google.Protobuf.TestProtos { } public override string ToString() { - return pb::JsonFormatter.Default.Format(this); + return pb::JsonFormatter.ToDiagnosticString(this); } public void WriteTo(pb::CodedOutputStream output) { @@ -1318,7 +1318,7 @@ namespace Google.Protobuf.TestProtos { } public override string ToString() { - return pb::JsonFormatter.Default.Format(this); + return pb::JsonFormatter.ToDiagnosticString(this); } public void WriteTo(pb::CodedOutputStream output) { @@ -1427,7 +1427,7 @@ namespace Google.Protobuf.TestProtos { } public override string ToString() { - return pb::JsonFormatter.Default.Format(this); + return pb::JsonFormatter.ToDiagnosticString(this); } public void WriteTo(pb::CodedOutputStream output) { |