5 references to _outstanding
Microsoft.CodeAnalysis.Analyzers (5)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (5)
122
_outstanding
.TryAdd(obj, new AllocationInfo(obj.GetType(), poolName, filePath, lineNumber, _traceLeaks ? Environment.StackTrace : null));
127
_outstanding
.TryRemove(obj, out _);
133
internal bool HasLeaks => !
_outstanding
.IsEmpty;
140
_outstanding
.Clear();
168
foreach (var group in
_outstanding
.Values.GroupBy(v => (v.Type, v.PoolName, v.FilePath, v.LineNumber)).OrderByDescending(g => g.Count()))