2 instantiations of ProjectFileReference
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildWorkspace.cs (1)
589_applyChangesProjectFile.AddProjectReference(project.Name, new ProjectFileReference(project.FilePath, projectReference.Aliases));
MSBuild\ProjectFile\Extensions.cs (1)
42=> new(reference.EvaluatedInclude, reference.GetAliases());
10 references to ProjectFileReference
Microsoft.CodeAnalysis.Workspaces.MSBuild (10)
MSBuild\MSBuildProjectLoader.Worker_ResolveReferences.cs (1)
200foreach (var projectFileReference in projectFileInfo.ProjectReferences)
MSBuild\ProjectFile\Extensions.cs (3)
32public static IEnumerable<ProjectFileReference> GetProjectReferences(this MSB.Execution.ProjectInstance executedProject) 39/// Create a <see cref="ProjectFileReference"/> from a ProjectReference node in the MSBuild file. 41private static ProjectFileReference CreateProjectFileReference(MSB.Execution.ProjectItemInstance reference)
MSBuild\ProjectFile\IProjectFile.cs (1)
64void AddProjectReference(string projectName, ProjectFileReference reference);
MSBuild\ProjectFile\ProjectFile.cs (1)
470public void AddProjectReference(string projectName, ProjectFileReference reference)
MSBuild\ProjectFile\ProjectFileInfo.cs (4)
88public ImmutableArray<ProjectFileReference> ProjectReferences { get; } 114ImmutableArray<ProjectFileReference> projectReferences, 147ImmutableArray<ProjectFileReference> projectReferences, 179projectReferences: ImmutableArray<ProjectFileReference>.Empty,