2 instantiations of ProjectFileReference
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildWorkspace.cs (1)
665var reference = new ProjectFileReference(project.FilePath, [.. projectReference.Aliases], referenceOutputAssembly: true);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\ProjectFile\Extensions.cs (1)
70=> new(reference.EvaluatedInclude, reference.GetAliases(), reference.ReferenceOutputAssemblyIsTrue());
9 references to ProjectFileReference
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
MSBuild\MSBuildProjectLoader.Worker_ResolveReferences.cs (1)
195foreach (var projectFileReference in projectFileInfo.ProjectReferences)
MSBuild\MSBuildWorkspace.cs (1)
665var reference = new ProjectFileReference(project.FilePath, [.. projectReference.Aliases], referenceOutputAssembly: true);
Rpc\RemoteProjectFile.cs (1)
47public Task AddProjectReferenceAsync(string projectName, ProjectFileReference projectFileReference, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
MSBuild\ProjectFile\Extensions.cs (3)
45public static IEnumerable<ProjectFileReference> GetProjectReferences(this MSB.Execution.ProjectInstance executedProject) 67/// Create a <see cref="ProjectFileReference"/> from a ProjectReference node in the MSBuild file. 69private static ProjectFileReference CreateProjectFileReference(MSB.Execution.ProjectItemInstance reference)
MSBuild\ProjectFile\ProjectFile.cs (1)
167public void AddProjectReference(string projectName, ProjectFileReference reference)
Microsoft.CodeAnalysis.Workspaces.MSBuild.Contracts (2)
IProjectFile.cs (1)
21void AddProjectReference(string projectName, ProjectFileReference reference);
ProjectFileInfo.cs (1)
112public required ProjectFileReference[] ProjectReferences { get; init; }