aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2016-02-04 07:05:49 +0000
committerJon Skeet <jonskeet@google.com>2016-02-04 07:05:49 +0000
commita3ea9d120389d535164e42e45c07b539a398c6e1 (patch)
tree7f89000a6e653ab8af6899e30f3c2c1b3f8de925 /csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs
parenteb1d156d74fc4742175d6c143e5747772e44a4bb (diff)
downloadprotobuf-a3ea9d120389d535164e42e45c07b539a398c6e1.tar.gz
protobuf-a3ea9d120389d535164e42e45c07b539a398c6e1.tar.bz2
protobuf-a3ea9d120389d535164e42e45c07b539a398c6e1.zip
Rename GeneratedCodeInfo to GeneratedClrTypeInfo
Recently, descriptor.proto gained a GeneratedCodeInfo message, which means the generated code conflicts with our type. Unfortunately this affects codegen as well, although this is a part of the public API which is very unlikely to affect hand-written code. Generated code changes in next commit.
Diffstat (limited to 'csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs')
-rw-r--r--csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs b/csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs
index f43803a6..f5798d1e 100644
--- a/csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs
+++ b/csharp/src/Google.Protobuf/Reflection/MessageDescriptor.cs
@@ -60,7 +60,7 @@ namespace Google.Protobuf.Reflection
private readonly IList<FieldDescriptor> fieldsInNumberOrder;
private readonly IDictionary<string, FieldDescriptor> jsonFieldMap;
- internal MessageDescriptor(DescriptorProto proto, FileDescriptor file, MessageDescriptor parent, int typeIndex, GeneratedCodeInfo generatedCodeInfo)
+ internal MessageDescriptor(DescriptorProto proto, FileDescriptor file, MessageDescriptor parent, int typeIndex, GeneratedClrTypeInfo generatedCodeInfo)
: base(file, file.ComputeFullName(parent, proto.Name), typeIndex)
{
Proto = proto;