MCPcopy Create free account
hub / github.com/apache/fory / Contains

Method Contains

csharp/src/Fory/NullableKeyDictionary.cs:167–171  ·  view source on GitHub ↗
(KeyValuePair<TKey, TValue> item)

Source from the content-addressed store, hash-verified

165 }
166
167 public bool Contains(KeyValuePair<TKey, TValue> item)
168 {
169 return TryGetValue(item.Key, out TValue value) &&
170 EqualityComparer<TValue>.Default.Equals(value, item.Value);
171 }
172
173 public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
174 {

Calls 1

EqualsMethod · 0.45