19 references to ProjectReferences
Microsoft.CodeAnalysis.Workspaces (19)
Workspace\Solution\Project.cs (2)
136
public IEnumerable<ProjectReference> ProjectReferences => State.
ProjectReferences
.Where(pr => this.Solution.ContainsProject(pr.ProjectId));
142
public IReadOnlyList<ProjectReference> AllProjectReferences => State.
ProjectReferences
;
Workspace\Solution\ProjectState.cs (3)
831
/// Determines whether <see cref="
ProjectReferences
"/> contains a reference to a specified project.
837
foreach (var projectReference in
ProjectReferences
)
848
if (projectReferences ==
ProjectReferences
)
Workspace\Solution\ProjectState_Checksum.cs (1)
62
var projectReferenceChecksums = ChecksumCache.GetOrCreateChecksumCollection(
ProjectReferences
, serializer, cancellationToken);
Workspace\Solution\Solution.cs (2)
660
if (!oldProject.
ProjectReferences
.Contains(projectReference))
1882
var hasSubmissionReference = !ignoreExistingReferences && projectState.
ProjectReferences
.Any(p => this.SolutionState.GetRequiredProjectState(p.ProjectId).IsSubmission);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (3)
497
foreach (var projectReference in this.ProjectState.
ProjectReferences
)
1046
foreach (var dependentProjectReference in projectState.
ProjectReferences
)
1083
foreach (var dependentProjectReference in projectState.
ProjectReferences
)
Workspace\Solution\SolutionState.cs (6)
449
.WithAdditionalProjectReferences(projectId, projectState.
ProjectReferences
);
456
foreach (var projectReference in newState.
ProjectReferences
)
775
var oldReferences = oldProject.
ProjectReferences
.ToImmutableArray();
791
var oldReferences = oldProject.
ProjectReferences
.ToImmutableArray();
1232
state.
ProjectReferences
.Where(pr => GetProjectState(sortedNewProjectStates, pr.ProjectId) != null).Select(pr => pr.ProjectId).ToImmutableHashSet()))
1400
=> GetRequiredProjectState(projectId).
ProjectReferences
.Contains(projectReference);
Workspace\Solution\SolutionState_Checksum.cs (1)
166
foreach (var refProject in projectState.
ProjectReferences
)
Workspace\Solution\StateChecksums.cs (1)
462
ChecksumCollection.Find(state.
ProjectReferences
, ProjectReferences, searchingChecksumsLeft, onAssetFound, arg, cancellationToken);