6 references to _hashtable
System.ComponentModel.TypeConverter (6)
System\ComponentModel\WeakHashtable.cs (6)
21
get =>
_hashtable
.TryGetValue(key, out object? value) ? value : null;
22
set =>
_hashtable
.AddOrUpdate(key, value);
25
public bool ContainsKey(object key) =>
_hashtable
.TryGetValue(key, out object? _);
27
public void Remove(object key) =>
_hashtable
.Remove(key);
29
public IEnumerator<KeyValuePair<object, object?>> GetEnumerator() => ((IEnumerable<KeyValuePair<object, object?>>)
_hashtable
).GetEnumerator();
31
IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<KeyValuePair<object, object?>>)
_hashtable
).GetEnumerator();