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:
parent
46b5bfce1e
commit
5a19981606
1 changed files with 5 additions and 1 deletions
|
@ -267,7 +267,11 @@ namespace System.Collections
|
||||||
}
|
}
|
||||||
else
|
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;
|
/*EqualityComparer<TValue> c = EqualityComparer<TValue>.Default;
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue