Fix readability.

pull/6674/head
Sydney Acksman 5 years ago
parent 3457f88940
commit 6f09cc3a0c
  1. 3
      csharp/src/Google.Protobuf/Reflection/ExtensionCollection.cs

@ -110,7 +110,8 @@ namespace Google.Protobuf.Reflection
IList<FieldDescriptor> list;
if (!declarationOrder.TryGetValue(descriptor.ExtendeeType, out list))
{
declarationOrder.Add(descriptor.ExtendeeType, list = new List<FieldDescriptor>());
list = new List<FieldDescriptor>();
declarationOrder.Add(descriptor.ExtendeeType, list);
}
list.Add(descriptor);

Loading…
Cancel
Save