16 references to TryRemove
Microsoft.Build (1)
Collections\CopyOnWritePropertyDictionary.cs (1)
336return ImmutableInterlocked.TryRemove(ref _backing, name, out _);
Microsoft.Build.Framework (1)
RoslynImmutableInterlocked.cs (1)
462/// <inheritdoc cref="ImmutableInterlocked.TryRemove{TKey, TValue}(ref ImmutableDictionary{TKey, TValue}, TKey, out TValue)"/>
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (1)
586/// <inheritdoc cref="ImmutableInterlocked.TryRemove{TKey, TValue}(ref ImmutableDictionary{TKey, TValue}, TKey, out TValue)"/>
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (1)
586/// <inheritdoc cref="ImmutableInterlocked.TryRemove{TKey, TValue}(ref ImmutableDictionary{TKey, TValue}, TKey, out TValue)"/>
Microsoft.CodeAnalysis.Collections.Package (1)
RoslynImmutableInterlocked.cs (1)
586/// <inheritdoc cref="ImmutableInterlocked.TryRemove{TKey, TValue}(ref ImmutableDictionary{TKey, TValue}, TKey, out TValue)"/>
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
StubSettingsManagerHost.cs (1)
139if (ImmutableInterlocked.TryRemove(ref _values, name, out _))
Microsoft.CodeAnalysis.Extensions.Package (1)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (1)
586/// <inheritdoc cref="ImmutableInterlocked.TryRemove{TKey, TValue}(ref ImmutableDictionary{TKey, TValue}, TKey, out TValue)"/>
Microsoft.CodeAnalysis.Features (2)
SemanticSearch\AbstractSemanticSearchService.cs (2)
142Contract.ThrowIfFalse(ImmutableInterlocked.TryRemove(ref _compiledQueries, queryId, out var compiledQuery)); 154Contract.ThrowIfFalse(ImmutableInterlocked.TryRemove(ref _compiledQueries, queryId, out var query));
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (1)
586/// <inheritdoc cref="ImmutableInterlocked.TryRemove{TKey, TValue}(ref ImmutableDictionary{TKey, TValue}, TKey, out TValue)"/>
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (1)
586/// <inheritdoc cref="ImmutableInterlocked.TryRemove{TKey, TValue}(ref ImmutableDictionary{TKey, TValue}, TKey, out TValue)"/>
Microsoft.CodeAnalysis.Workspaces (3)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (1)
586/// <inheritdoc cref="ImmutableInterlocked.TryRemove{TKey, TValue}(ref ImmutableDictionary{TKey, TValue}, TKey, out TValue)"/>
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (2)
412ImmutableInterlocked.TryRemove<ProjectId, string?>(ref _projectToMaxSupportedLangVersionMap, projectId, out _); 413ImmutableInterlocked.TryRemove(ref _projectToDependencyNodeTargetIdentifier, projectId, out _);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (1)
586/// <inheritdoc cref="ImmutableInterlocked.TryRemove{TKey, TValue}(ref ImmutableDictionary{TKey, TValue}, TKey, out TValue)"/>
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\VisualStudioWorkspaceImpl.cs (1)
1617ImmutableInterlocked.TryRemove(ref _projectToRuleSetFilePath, project.Id, out _);