1 write to _table
Microsoft.VisualStudio.LanguageServices (1)
Interop\CleanableWeakComHandleTable.cs (1)
50
_table
= [];
11 references to _table
Microsoft.VisualStudio.LanguageServices (11)
Interop\CleanableWeakComHandleTable.cs (11)
92
var cleanUpEnumerator =
_table
.GetEnumerator();
112
cleanUpEnumerator =
_table
.GetEnumerator();
127
Debug.Assert(
_table
.ContainsKey(key), "Key not found in table.");
128
_table
.Remove(key);
153
if (
_table
.ContainsKey(key))
165
_table
.Add(key, new WeakComHandle<TValue, TValue>(value));
174
if (
_table
.TryGetValue(key, out var handle))
176
_table
.Remove(key);
187
return
_table
.ContainsKey(key);
193
if (
_table
.TryGetValue(key, out var handle))
207
foreach (var keyValuePair in
_table
)