1 instantiation of PoolTrackingContext
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (1)
46context = new PoolTrackingContext(traceLeaks);
4 references to PoolTrackingContext
Microsoft.CodeAnalysis.Analyzers (4)
src\roslyn\src\Dependencies\PooledObjects\PoolTracker.cs (4)
26/// <see cref="PoolTrackingContext.HasLeaks"/> reveals whether any pooled objects were not returned. 34private static readonly AsyncLocal<PoolTrackingContext?> s_currentContext = new AsyncLocal<PoolTrackingContext?>(); 44internal static void StartTracking(out PoolTrackingContext context, bool traceLeaks = false)