5 references to Update
dotnet-watch (2)
HotReload\HotReloadDotNetWatcher.cs (2)
191ImmutableInterlocked.Update(ref changedFilesAccumulator, changedPaths => changedPaths.Add(change)); 497ImmutableInterlocked.Update(ref changedFilesAccumulator, accumulator => accumulator.AddRange(newAccumulator));
Microsoft.CodeAnalysis.ExternalAccess.Copilot (1)
Internal\SemanticSearch\CopilotSemanticSearchQueryExecutor.cs (1)
55if (!ImmutableInterlocked.Update(ref _results,
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (2)
442ImmutableInterlocked.Update(ref _disposalVerifiedStreams, s => s.Add(stream)); 450ImmutableInterlocked.Update(ref _disposalVerifiedStreams, s => s.Add(stream));