1 write to _weakHandlesByHashCode
Microsoft.NET.StringTools.net35 (1)
WeakStringCache.Locking.cs (1)
19
_weakHandlesByHashCode
= new Dictionary<int, StringWeakHandle>(_initialCapacity);
12 references to _weakHandlesByHashCode
Microsoft.NET.StringTools.net35 (12)
WeakStringCache.cs (3)
138
foreach (KeyValuePair<int, StringWeakHandle> entry in
_weakHandlesByHashCode
)
144
_weakHandlesByHashCode
.Clear();
159
foreach (KeyValuePair<int, StringWeakHandle> entry in
_weakHandlesByHashCode
)
WeakStringCache.Locking.cs (9)
41
lock (
_weakHandlesByHashCode
)
43
if (
_weakHandlesByHashCode
.TryGetValue(hashCode, out handle))
67
if (
_weakHandlesByHashCode
.Count >= _scavengeThreshold)
72
_scavengeThreshold =
_weakHandlesByHashCode
.Count * 2;
75
_weakHandlesByHashCode
[hashCode] = handle;
90
foreach (KeyValuePair<int, StringWeakHandle> entry in
_weakHandlesByHashCode
)
103
_weakHandlesByHashCode
.Remove(keysToRemove[i]);
113
lock (
_weakHandlesByHashCode
)
124
lock (
_weakHandlesByHashCode
)