diff options
author | Andrew Hoefling <andrew@hoeflingsoftware.com> | 2019-03-04 21:54:41 -0500 |
---|---|---|
committer | Santiago Fernandez Madero <safern@microsoft.com> | 2019-03-08 11:20:58 -0800 |
commit | 69c3b0355df56fd47f98faf574e24f577f6d29c2 (patch) | |
tree | 0f620830374fca70da2136f2346816184c750144 | |
parent | ff55c32b76d8843a9be7481200c05ac0d0e2c4c4 (diff) | |
download | coreclr-69c3b0355df56fd47f98faf574e24f577f6d29c2.tar.gz coreclr-69c3b0355df56fd47f98faf574e24f577f6d29c2.tar.bz2 coreclr-69c3b0355df56fd47f98faf574e24f577f6d29c2.zip |
Adding braces on for loop
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs b/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs index e521cb15e2..4d4825a4cc 100644 --- a/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs +++ b/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs @@ -212,7 +212,9 @@ namespace System.Collections.ObjectModel } for (int i = index; i < (index + count); i++) + { RemoveAt(index); + } } bool ICollection<T>.IsReadOnly |