aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jon Skeet <skeet@pobox.com>2015-11-19 12:36:51 +0000
committerGravatar Jon Skeet <skeet@pobox.com>2015-11-19 12:36:51 +0000
commitff37edcd8a533b5440dfae541ea85f8b41d94e55 (patch)
tree0ab0f79a8121e4c8a5d49afc6caae561963f7ed4 /src
parentc581acb562fad93c4eb7b125cc31b64fa6f51868 (diff)
parent360feda5f76e62a3a8e5b086bdb3b851f7730f2e (diff)
Merge pull request #974 from jskeet/parser
Parser property in MessageDescriptor
Diffstat (limited to 'src')
-rw-r--r--src/google/protobuf/compiler/csharp/csharp_umbrella_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_umbrella_class.cc b/src/google/protobuf/compiler/csharp/csharp_umbrella_class.cc
index 8059fd2a..812c6fc8 100644
--- a/src/google/protobuf/compiler/csharp/csharp_umbrella_class.cc
+++ b/src/google/protobuf/compiler/csharp/csharp_umbrella_class.cc
@@ -232,7 +232,7 @@ void UmbrellaClassGenerator::WriteGeneratedCodeInfo(const Descriptor* descriptor
return;
}
// Generated message type
- printer->Print("new pbr::GeneratedCodeInfo(typeof($type_name$), ", "type_name", GetClassName(descriptor));
+ printer->Print("new pbr::GeneratedCodeInfo(typeof($type_name$), $type_name$.Parser, ", "type_name", GetClassName(descriptor));
// Fields
if (descriptor->field_count() > 0) {