1 write to _stringsByHashCode
Microsoft.NET.StringTools (1)
WeakStringCache.Concurrent.cs (1)
22_stringsByHashCode = new ConcurrentDictionary<int, StringWeakHandle>(Environment.ProcessorCount, _initialCapacity);
3 references to _stringsByHashCode
Microsoft.NET.StringTools (3)
WeakStringCache.Concurrent.cs (1)
44ConcurrentDictionary<int, StringWeakHandle> stringsByHashCode = usingWeakHandle ? _weakHandlesByHashCode : _stringsByHashCode;
WeakStringCache.cs (2)
143_stringsByHashCode.Clear(); 157DebugInfo debugInfo = new() { LiveStringCount = _stringsByHashCode.Count };