2 writes to _lazyReverseReferencesMap
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\ProjectDependencyGraph.cs (2)
101_lazyReverseReferencesMap = reverseReferencesMap; 203_lazyReverseReferencesMap = this.ComputeReverseReferencesMap();
20 references to _lazyReverseReferencesMap
Microsoft.CodeAnalysis.Workspaces (20)
Workspace\Solution\ProjectDependencyGraph.cs (5)
108ValidateReverseReferences(ProjectIds, _referencesMap, _lazyReverseReferencesMap); 185if (_lazyReverseReferencesMap == null) 201if (_lazyReverseReferencesMap == null) 204ValidateReverseReferences(ProjectIds, _referencesMap, _lazyReverseReferencesMap); 207return _lazyReverseReferencesMap.GetValueOrDefault(projectId, []);
Workspace\Solution\ProjectDependencyGraph_AddProject.cs (1)
39reverseReferencesMap: _lazyReverseReferencesMap,
Workspace\Solution\ProjectDependencyGraph_AddProjectReference.cs (3)
37var newReverseReferencesMap = ComputeNewReverseReferencesMapForAdditionalProjectReferences(_lazyReverseReferencesMap, projectId, referencedProjectIds); 74/// Computes a new <see cref="_lazyReverseReferencesMap"/> for the addition of additional project references. 76/// <param name="existingReverseReferencesMap">The previous <see cref="_lazyReverseReferencesMap"/>, or
Workspace\Solution\ProjectDependencyGraph_RemoveAllProjectReferences.cs (3)
25var reverseReferencesMap = ComputeNewReverseReferencesMapForRemovedAllProjectReferences(_lazyReverseReferencesMap, projectId, referencedProjectIds); 48/// Computes a new <see cref="_lazyReverseReferencesMap"/> for the removal of all project references from a 51/// <param name="existingReverseReferencesMap">The <see cref="_lazyReverseReferencesMap"/> prior to the removal,
Workspace\Solution\ProjectDependencyGraph_RemoveProject.cs (5)
21existingReverseReferencesMap: _lazyReverseReferencesMap, 28existingReverseReferencesMap: _lazyReverseReferencesMap, 46/// <param name="existingReverseReferencesMap">The <see cref="_lazyReverseReferencesMap"/> prior to the removal. 86/// Computes a new <see cref="_lazyReverseReferencesMap"/> for the removal of a project. 88/// <param name="existingReverseReferencesMap">The <see cref="_lazyReverseReferencesMap"/> prior to the removal,
Workspace\Solution\ProjectDependencyGraph_RemoveProjectReference.cs (3)
23var reverseReferencesMap = ComputeNewReverseReferencesMapForRemovedProjectReference(_lazyReverseReferencesMap, projectId, referencedProjectId); 46/// Computes a new <see cref="_lazyReverseReferencesMap"/> for the removal of a project reference. 48/// <param name="existingReverseReferencesMap">The <see cref="_lazyReverseReferencesMap"/> prior to the removal,