Apply feedback to grow methods of generic collections (#49167)
authorEirik Tsarpalis <eirik.tsarpalis@gmail.com>
Mon, 8 Mar 2021 00:56:02 +0000 (00:56 +0000)
committerGitHub <noreply@github.com>
Mon, 8 Mar 2021 00:56:02 +0000 (19:56 -0500)
commit3d2ecd0589f2e2097365b19d1ece6a20535a68b9
tree577a2453fb60b91af67c97c9b35aae86553fee49
parent027c093de1cc7d23a107e0594cebfb0216161dd4
Apply feedback to grow methods of generic collections (#49167)

* Apply feedback to Grow methods of generic collections

* add assertion
src/libraries/System.Collections/src/System/Collections/Generic/Queue.cs
src/libraries/System.Collections/src/System/Collections/Generic/Stack.cs
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs