aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs
diff options
context:
space:
mode:
authorGravatar Jon Skeet <jonskeet@google.com>2015-11-19 17:14:23 +0000
committerGravatar Jon Skeet <jonskeet@google.com>2015-11-22 16:30:36 +0000
commita2667aafd80b0b37e529a94be3ce4df66d8ad6cb (patch)
tree331da99dc0dc12fc13f395f3dfd32dc4ab726078 /csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs
parent72ec33676fd40ccfe719ace162fcf859ae9251bc (diff)
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.cs4
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)