1 write to ProjectReferences
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\ProjectInfo.cs (1)
172ProjectReferences = projectReferences;
10 references to ProjectReferences
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\ProjectInfo.cs (2)
300var newProjectReferences = projectReferences ?? ProjectReferences; 311newProjectReferences == ProjectReferences &&
Workspace\Solution\ProjectState.cs (1)
670public IReadOnlyList<ProjectReference> ProjectReferences => this.ProjectInfo.ProjectReferences;
Workspace\Solution\SolutionCompilationState.cs (1)
597.WithProjectReferences(projectId, info.ProjectReferences)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker_ResolveReferences.cs (1)
381=> from.ProjectReferences.Any(pr => pr.ProjectId == to);
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
SolutionTests\ProjectInfoTests.cs (5)
116Assert.Same(projectReference, ((ImmutableArray<ProjectReference>)info1.ProjectReferences).Single()); 119Assert.True(((ImmutableArray<ProjectReference>)info2.ProjectReferences).IsEmpty); 122Assert.True(((ImmutableArray<ProjectReference>)info3.ProjectReferences).IsEmpty); 125Assert.True(((ImmutableArray<ProjectReference>)info4.ProjectReferences).IsEmpty); 205SolutionTestHelpers.TestListProperty(instance, (old, value) => old.WithProjectReferences(value), opt => opt.ProjectReferences, new ProjectReference(projectId), allowDuplicates: false);