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