1 write to _workSet
Microsoft.Build.Engine.UnitTests (1)
Graph\ParallelWorkSet_Tests.cs (1)
239_workSet = new ParallelWorkSet<string, string>(tt.DegreeOfParallelism, StringComparer.Ordinal, CancellationToken.None);
7 references to _workSet
Microsoft.Build.Engine.UnitTests (7)
Graph\ParallelWorkSet_Tests.cs (7)
120_workSet.AddWork("barKey", () => "barVal"); 152_workSet.AddWork("barKey", () => "barVal"); 245_workSet.AddWork( 267Should.Throw<AggregateException>(() => _workSet.WaitForAllWorkAndComplete()).InnerExceptions.ShouldBeSetEquivalentTo(observedExceptions); 271_workSet.WaitForAllWorkAndComplete(); 272_workSet.IsCompleted.ShouldBeTrue(); 273_workSet.CompletedWork.ShouldBeSameIgnoringOrder((IReadOnlyCollection<KeyValuePair<string, string>>)tt.ExpectedCompletedWork);