aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/JsonFormatter.cs
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2015-11-19 08:48:50 +0000
committerJon Skeet <skeet@pobox.com>2015-11-19 08:48:50 +0000
commitc581acb562fad93c4eb7b125cc31b64fa6f51868 (patch)
tree7a08d3d8a0a5470395a32df8be3d448adcccd955 /csharp/src/Google.Protobuf/JsonFormatter.cs
parent8162451b727e5abd46ea934a81d44c6ff7e0963e (diff)
parent284bb452e48a3cf3346f00b0ea5579d8fe854573 (diff)
downloadprotobuf-c581acb562fad93c4eb7b125cc31b64fa6f51868.tar.gz
protobuf-c581acb562fad93c4eb7b125cc31b64fa6f51868.tar.bz2
protobuf-c581acb562fad93c4eb7b125cc31b64fa6f51868.zip
Merge pull request #944 from jskeet/umbrella-classname
Change the way the "umbrella class" (descriptors) is named/namespaced
Diffstat (limited to 'csharp/src/Google.Protobuf/JsonFormatter.cs')
-rw-r--r--csharp/src/Google.Protobuf/JsonFormatter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf/JsonFormatter.cs b/csharp/src/Google.Protobuf/JsonFormatter.cs
index 2070f62b..08e3142e 100644
--- a/csharp/src/Google.Protobuf/JsonFormatter.cs
+++ b/csharp/src/Google.Protobuf/JsonFormatter.cs
@@ -394,7 +394,7 @@ namespace Google.Protobuf
if (value is IMessage)
{
var message = (IMessage) value;
- value = message.Descriptor.Fields[Wrappers.WrapperValueFieldNumber].Accessor.GetValue(message);
+ value = message.Descriptor.Fields[WrappersReflection.WrapperValueFieldNumber].Accessor.GetValue(message);
}
WriteValue(builder, value);
return;