浏览代码

Fix formatting

Sydney Acksman 6 年之前
父节点
当前提交
3457f88940
共有 1 个文件被更改,包括 2 次插入0 次删除
  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;
                 IList<FieldDescriptor> list;
                 if (!declarationOrder.TryGetValue(descriptor.ExtendeeType, out list))
                 if (!declarationOrder.TryGetValue(descriptor.ExtendeeType, out list))
+                {
                     declarationOrder.Add(descriptor.ExtendeeType, list = new List<FieldDescriptor>());
                     declarationOrder.Add(descriptor.ExtendeeType, list = new List<FieldDescriptor>());
+                }
 
 
                 list.Add(descriptor);
                 list.Add(descriptor);
             }
             }