Adding braces on for loop
authorAndrew Hoefling <andrew@hoeflingsoftware.com>
Tue, 5 Mar 2019 02:54:41 +0000 (21:54 -0500)
committerSantiago Fernandez Madero <safern@microsoft.com>
Fri, 8 Mar 2019 19:20:58 +0000 (11:20 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/69c3b0355df56fd47f98faf574e24f577f6d29c2

src/libraries/System.Private.CoreLib/src/System/Collections/ObjectModel/Collection.cs

index e521cb1..4d4825a 100644 (file)
@@ -212,7 +212,9 @@ namespace System.Collections.ObjectModel
             }
 
             for (int i = index; i < (index + count); i++)
+            {
                 RemoveAt(index);
+            }
         }
 
         bool ICollection<T>.IsReadOnly