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

basic Dictionary ContainsValue functionality

This commit is contained in:
EinBurgbauer 2021-05-17 16:23:18 +02:00
parent 46b5bfce1e
commit 5a19981606

View file

@ -267,7 +267,11 @@ namespace System.Collections
}
else
{
//TODO: IMPORTANT!
for (int_cosize i = 0; i < mCount; i++)
{
if (mEntries[i].mHashCode >= 0 && mEntries[i].mValue == value) return true;
}
//TODO: comparison
/*EqualityComparer<TValue> c = EqualityComparer<TValue>.Default;
for (int i = 0; i < count; i++)
{