59 references to Remove
Microsoft.Build (2)
CopyOnWriteDictionary.cs (2)
238_backing = _backing.Remove(key); 292_backing = _backing.Remove(item.Key);
Microsoft.Build.Tasks.Core (2)
CopyOnWriteDictionary.cs (2)
238_backing = _backing.Remove(key); 292_backing = _backing.Remove(item.Key);
Microsoft.Build.Utilities.Core (2)
CopyOnWriteDictionary.cs (2)
238_backing = _backing.Remove(key); 292_backing = _backing.Remove(item.Key);
Microsoft.CodeAnalysis (1)
InternalUtilities\ImmutableSetWithInsertionOrder`1.cs (1)
49var modifiedMap = _map.Remove(value);
Microsoft.CodeAnalysis.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (4)
61_forwardMap.Remove(key), 62_backwardMap.Remove(value)); 73_forwardMap.Remove(key), 74_backwardMap.Remove(value));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
166return dictionary.Remove(key);
Microsoft.CodeAnalysis.CSharp (3)
Compilation\SyntaxAndDeclarationManager.cs (3)
342loadDirectiveMap = loadDirectiveMap.Remove(tree); 343loadedSyntaxTreeMap = loadedSyntaxTreeMap.Remove(tree.FilePath); 582ordinalMap = ordinalMap.Remove(oldTree);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (15)
Collections\Immutable\Maps\MapTests.cs (15)
60map = map.Remove("0"); 63map = map.Remove("1"); 66map = map.Remove("1"); 69map = map.Remove("2"); 72map = map.Remove("3"); 75map = map.Remove("4"); 78map = map.Remove("5"); 97map = map.Remove("0"); 100map = map.Remove("3"); 103map = map.Remove("3"); 106map = map.Remove("2"); 109map = map.Remove("1"); 112map = map.Remove("4"); 115map = map.Remove("6"); 118map = map.Remove("5");
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.cs (1)
124_projectAnalyzerStateMap = _projectAnalyzerStateMap.Remove(projectId);
Workspaces\LspWorkspaceManager.cs (1)
194_trackedDocuments = _trackedDocuments.Remove(uri);
Microsoft.CodeAnalysis.VisualBasic (2)
Compilation\VisualBasicCompilation.vb (2)
1059declMap = declMap.Remove(tree) 1122ordinalMap = ordinalMap.Remove(oldTree)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
PreprocessorEETests.vb (1)
212table = table.Remove("y")
Microsoft.CodeAnalysis.Workspaces (12)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (4)
61_forwardMap.Remove(key), 62_backwardMap.Remove(value)); 73_forwardMap.Remove(key), 74_backwardMap.Remove(value));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
166return dictionary.Remove(key);
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (1)
404ProjectReferenceInfos = projectUpdateState.ProjectReferenceInfos.Remove(projectId)
Workspace\ProjectSystem\ProjectSystemProjectFactory.ProjectUpdateState.cs (1)
106return map.Remove(path);
Workspace\Solution\ProjectDependencyGraph.cs (1)
161_referencesMap.Remove(projectId) : _referencesMap.SetItem(projectId, referencedProjectIds);
Workspace\Solution\ProjectDependencyGraph_RemoveAllProjectReferences.cs (1)
44return existingForwardReferencesMap.Remove(projectId);
Workspace\Solution\ProjectDependencyGraph_RemoveProject.cs (1)
104return existingReverseReferencesMap.Remove(removedProjectId);
Workspace\Solution\SolutionState.cs (1)
498projectCountByLanguage = projectCountByLanguage.Remove(language);
Workspace\Workspace.cs (1)
428newFallbackOptions = newFallbackOptions.Remove(language);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\ImmutableSetWithInsertionOrder`1.cs (1)
49var modifiedMap = _map.Remove(value);
Microsoft.Interop.ComInterfaceGenerator (1)
Analyzers\ConvertComImportToGeneratedComInterfaceFixer.cs (1)
66combinedOptions = combinedOptions.Remove(AddStringMarshallingOption);
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportFixer.cs (1)
83var selectedOptions = options.Remove(CharSetOption);
Microsoft.VisualStudio.LanguageServices (4)
ProjectSystem\OpenTextBufferProvider.cs (2)
124_monikerToTextBufferMap = _monikerToTextBufferMap.Remove(moniker); 158_monikerToTextBufferMap = _monikerToTextBufferMap.Remove(pszMkDocumentOld).Add(pszMkDocumentNew, textBuffer);
ProjectSystem\VisualStudioWorkspaceImpl.cs (2)
1558_projectToHierarchyMap = _projectToHierarchyMap.Remove(project.Id); 1559_projectToGuidMap = _projectToGuidMap.Remove(project.Id);
Microsoft.VisualStudio.LanguageServices.LiveShare (2)
Client\RemoteLanguageServiceWorkspace.cs (2)
373_openedDocs = _openedDocs.Remove(moniker); 458_openedDocs = _openedDocs.Remove(filePath);
MSBuild (2)
CopyOnWriteDictionary.cs (2)
238_backing = _backing.Remove(key); 292_backing = _backing.Remove(item.Key);
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
548return this.Remove(key);