1 instantiation of StringWeakHandle
Microsoft.NET.StringTools (1)
WeakStringCache.Concurrent.cs (1)
63handle = new StringWeakHandle();
7 references to StringWeakHandle
Microsoft.NET.StringTools (7)
WeakStringCache.Concurrent.cs (5)
16private readonly ConcurrentDictionary<int, StringWeakHandle> _stringsByHashCode; 20_stringsByHashCode = new ConcurrentDictionary<int, StringWeakHandle>(Environment.ProcessorCount, _initialCapacity); 35StringWeakHandle? handle; 98foreach (KeyValuePair<int, StringWeakHandle> entry in _stringsByHashCode) 101if (!entry.Value.IsUsed && _stringsByHashCode.TryRemove(entry.Key, out StringWeakHandle? removedHandle))
WeakStringCache.cs (2)
101foreach (KeyValuePair<int, StringWeakHandle> entry in _stringsByHashCode) 126foreach (KeyValuePair<int, StringWeakHandle> entry in _stringsByHashCode)