Browse Source

Fix formatting

Sydney Acksman 6 years ago
parent
commit
3457f88940
1 changed files with 2 additions and 0 deletions
  1. 2 0
      csharp/src/Google.Protobuf/Reflection/ExtensionCollection.cs

+ 2 - 0
csharp/src/Google.Protobuf/Reflection/ExtensionCollection.cs

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