35 references to Free
Microsoft.CodeAnalysis.CodeStyle (35)
Extensions.cs (10)
44
=> new(pool, p => p.Allocate(), (p, o) => p.
Free
(o));
109
pool.
Free
(sb);
127
pool.
Free
(set);
143
pool.
Free
(set);
161
pool.
Free
(set);
177
pool.
Free
(stack);
195
pool.
Free
(set);
214
pool.
Free
(map);
231
pool.
Free
(map);
248
pool.
Free
(list);
J\s\src\Dependencies\PooledObjects\ArrayBuilder.cs\ArrayBuilder.cs (1)
378
pool.
Free
(this);
J\s\src\Dependencies\PooledObjects\PooledDictionary.cs\PooledDictionary.cs (1)
36
_pool?.
Free
(this);
J\s\src\Dependencies\PooledObjects\PooledHashSet.cs\PooledHashSet.cs (1)
25
_pool?.
Free
(this);
J\s\src\Dependencies\PooledObjects\PooledStringBuilder.cs\PooledStringBuilder.cs (1)
42
_pool.
Free
(this);
Logger.LogBlock.cs (1)
80
_pool.
Free
(this);
LogMessage.cs (6)
83
s_pool.
Free
(this);
113
s_pool.
Free
(this);
146
s_pool.
Free
(this);
182
s_pool.
Free
(this);
221
s_pool.
Free
(this);
263
s_pool.
Free
(this);
ObjectReader.cs (1)
333
s_objectListPool.
Free
(_values);
ObjectWriter.cs (1)
421
pool.
Free
(_valueToIdMap);
OrderPreservingMultiDictionary.cs (1)
50
_pool?.
Free
(this);
PooledDelegates.cs (1)
362
DefaultDelegatePool<TSelf>.Instance.
Free
((TSelf)this);
SerializableBytes.cs (3)
88
SharedPools.ByteArray.
Free
(chunks[c]);
280
SharedPools.ByteArray.
Free
(chunk);
360
SharedPools.ByteArray.
Free
(chunks[i]);
StringTable.cs (1)
109
_pool?.
Free
(this);
SymbolKey.SymbolKeyReader.cs (1)
353
s_readerPool.
Free
(this);
SymbolKey.SymbolKeyWriter.cs (1)
94
s_writerPool.
Free
(this);
SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
40
s_pool.
Free
(this);
SymbolUsageAnalysis.Walker.cs (1)
48
s_visitorPool.
Free
(visitor);
UseCollectionInitializerAnalyzer.cs (1)
54
s_pool.
Free
(analyzer);
UseNamedMemberInitializerAnalyzer.cs (1)
50
s_pool.
Free
(analyzer);