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)
108
ValidateReverseReferences(ProjectIds, _referencesMap,
_lazyReverseReferencesMap
);
185
if (
_lazyReverseReferencesMap
== null)
201
if (
_lazyReverseReferencesMap
== null)
204
ValidateReverseReferences(ProjectIds, _referencesMap,
_lazyReverseReferencesMap
);
207
return
_lazyReverseReferencesMap
.GetValueOrDefault(projectId, []);
Workspace\Solution\ProjectDependencyGraph_AddProject.cs (1)
39
reverseReferencesMap:
_lazyReverseReferencesMap
,
Workspace\Solution\ProjectDependencyGraph_AddProjectReference.cs (3)
37
var 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)
25
var 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)
21
existingReverseReferencesMap:
_lazyReverseReferencesMap
,
28
existingReverseReferencesMap:
_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)
23
var 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,