2 writes to _pendingWritesMap
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (2)
59
_pendingWritesMap
= PooledDictionary<IAssignmentOperation, PooledHashSet<(ISymbol, IOperation)>>.GetInstance();
87
_pendingWritesMap
= null;
8 references to _pendingWritesMap
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (8)
57
Debug.Assert(
_pendingWritesMap
== null);
81
foreach (var pendingWrites in
_pendingWritesMap
.Values)
86
_pendingWritesMap
.Free();
169
_pendingWritesMap
.Add(assignmentOperation, set);
174
if (!
_pendingWritesMap
.TryGetValue(deconstructionAssignment, out var set))
177
_pendingWritesMap
.Add(deconstructionAssignment, set);
189
if (
_pendingWritesMap
.TryGetValue(operation, out var pendingWrites))
217
_pendingWritesMap
.Remove(operation);