15 references to Update
Aspire.Dashboard (4)
ServiceClient\DashboardClient.cs (4)
602ImmutableInterlocked.Update(ref _outgoingResourceChannels, static (set, channel) => set.Add(channel), channel); 628ImmutableInterlocked.Update(ref _outgoingResourceChannels, static (set, channel) => set.Remove(channel), channel); 647ImmutableInterlocked.Update(ref _outgoingInteractionChannels, static (set, channel) => set.Add(channel), channel); 669ImmutableInterlocked.Update(ref _outgoingInteractionChannels, static (set, channel) => set.Remove(channel), channel);
Aspire.Hosting (2)
Dashboard\ResourcePublisher.cs (2)
52ImmutableInterlocked.Update(ref _outgoingChannels, static (set, channel) => set.Add(channel), channel); 71ImmutableInterlocked.Update(ref _outgoingChannels, static (set, channel) => set.Remove(channel), channel);
Microsoft.CodeAnalysis.Workspaces (3)
Options\LegacyWorkspaceOptionService.cs (1)
68ImmutableInterlocked.Update(
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (2)
477ImmutableInterlocked.Update( 486ImmutableInterlocked.Update(
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\DiagnosticReporter.cs (1)
49ImmutableInterlocked.Update(ref Diagnostics, (list, d) => list.Add(d), diagnostic);
Microsoft.VisualStudio.Extensibility.Testing.Xunit (2)
src\VisualStudio\IntegrationTest\Harness\XUnitShared\Harness\DataCollectionService.cs (1)
92ImmutableInterlocked.Update(
src\VisualStudio\IntegrationTest\Harness\XUnitShared\Harness\IdeStateCollector.cs (1)
20ImmutableInterlocked.Update(
Microsoft.VisualStudio.IntegrationTest.Setup (1)
TestTraceListener.cs (1)
125ImmutableInterlocked.Update(ref _failures, static (failures, exception) => failures.Add(exception), exception);
Microsoft.VisualStudio.LanguageServices.Implementation (1)
ProjectSystem\CPS\CPSProjectFactory.cs (1)
97ImmutableInterlocked.Update(ref _solutionsWithMissingChecksumAlgorithm, static (set, solutionPath) => set.Add(solutionPath), _workspace.CurrentSolution.FilePath ?? "");
System.Windows.Forms.UI.IntegrationTests (1)
Infra\DataCollectionService.cs (1)
82ImmutableInterlocked.Update(