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