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

Fix Dictionary<T>.CopyTo

This commit is contained in:
disarray2077 2022-02-19 21:45:45 -03:00 committed by GitHub
parent 88121831e2
commit 6071582dda
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)
{