1 instantiation of StringWeakHandle
Microsoft.NET.StringTools (1)
WeakStringCache.Concurrent.cs (1)
64handle = new StringWeakHandle();
7 references to StringWeakHandle
Microsoft.NET.StringTools (7)
WeakStringCache.Concurrent.cs (5)
16private readonly ConcurrentDictionary<int, StringWeakHandle> _stringsByHashCode; 21_stringsByHashCode = new ConcurrentDictionary<int, StringWeakHandle>(Environment.ProcessorCount, _initialCapacity); 36StringWeakHandle? handle; 109foreach (KeyValuePair<int, StringWeakHandle> entry in _stringsByHashCode) 112if (!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)