2 writes to _completionRefCount
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (2)
459
Interlocked.Increment(ref
_completionRefCount
);
478
public bool SignalWorkerCompletedIterating() => Interlocked.Decrement(ref
_completionRefCount
) == 0;
3 references to _completionRefCount
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\RoslynParallel.NetFramework.cs (3)
531
Debug.Assert(
_completionRefCount
== 0, $"Expected {nameof(
_completionRefCount
)} == 0, got {
_completionRefCount
}");