diff options
author | Jon Skeet <jonskeet@google.com> | 2015-11-19 17:14:23 +0000 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-11-22 16:30:36 +0000 |
commit | a2667aafd80b0b37e529a94be3ce4df66d8ad6cb (patch) | |
tree | 331da99dc0dc12fc13f395f3dfd32dc4ab726078 /csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs | |
parent | 72ec33676fd40ccfe719ace162fcf859ae9251bc (diff) | |
download | protobuf-a2667aafd80b0b37e529a94be3ce4df66d8ad6cb.tar.gz protobuf-a2667aafd80b0b37e529a94be3ce4df66d8ad6cb.tar.bz2 protobuf-a2667aafd80b0b37e529a94be3ce4df66d8ad6cb.zip |
Generated code changes for previous commit (basically InternalBuildGeneratedFileFrom => FromGeneratedCode)
Diffstat (limited to 'csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs')
-rw-r--r-- | csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs b/csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs index 57abbbff..c732c93a 100644 --- a/csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs +++ b/csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs @@ -45,11 +45,11 @@ namespace Google.Protobuf.Reflection private readonly IList<EnumValueDescriptor> values; private readonly Type clrType; - internal EnumDescriptor(EnumDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, int index, Type generatedType) + internal EnumDescriptor(EnumDescriptorProto proto, FileDescriptor file, MessageDescriptor parent, int index, Type clrType) : base(file, file.ComputeFullName(parent, proto.Name), index) { this.proto = proto; - this.clrType = generatedType; + this.clrType = clrType; containingType = parent; if (proto.Value.Count == 0) |