Commit 8602c862 authored by An Ionescu's avatar An Ionescu

Fixing bug where ICollection<KeyValuePair<TKey, ICollection<TVal>>>.Contains...

Fixing bug where ICollection<KeyValuePair<TKey, ICollection<TVal>>>.Contains in MultiMap would throw a null error.
parent a5fad1ad
......@@ -781,7 +781,8 @@ namespace Anvoker.Collections.Maps
bool ICollection<KeyValuePair<TKey, ICollection<TVal>>>.Contains(
KeyValuePair<TKey, ICollection<TVal>> item)
=> multiDict.ContainsKey(item.Key)
=> item.Value != null
&& multiDict.ContainsKey(item.Key)
&& multiDict[item.Key].SetEquals(item.Value);
void ICollection<KeyValuePair<TKey, ICollection<TVal>>>.CopyTo(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment