1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Merge pull request #1462 from disarray2077/patch-2

Fix `Dictionary<T>.CopyTo`
This commit is contained in:
Brian Fiete 2022-02-21 06:00:57 -08:00 committed by GitHub
commit e54b7f9208
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -299,7 +299,7 @@ namespace System.Collections
public void CopyTo(Span<KeyValuePair> kvPair)
{
Debug.Assert(kvPair.Length >= mCount);
Debug.Assert(kvPair.Length >= Count);
int idx = 0;
for (var kv in this)
{