4 writes to ProjectCollection
Microsoft.Build (4)
Definition\Project.cs (4)
107ProjectCollection = projectCollection; 264ProjectCollection = projectCollection; 358ProjectCollection = projectCollection; 455ProjectCollection = projectCollection;
25 references to ProjectCollection
Microsoft.Build (25)
Definition\Project.cs (12)
159/// <param name="projectCollection">The <see cref="ProjectCollection"/> the project is added to.</param> 172/// <param name="projectCollection">The <see cref="ProjectCollection"/> the project is added to.</param> 217/// <param name="projectCollection">The <see cref="ProjectCollection"/> the project is added to.</param> 233/// <param name="projectCollection">The <see cref="ProjectCollection"/> the project is added to.</param> 251/// <param name="projectCollection">The <see cref="ProjectCollection"/> the project is added to.</param> 857internal ILoggingService LoggingService => ProjectCollection.LoggingService; 1996private ProjectCollection ProjectCollection => Owner.ProjectCollection; 3948public PropertyDictionary<ProjectPropertyInstance> EnvironmentVariablePropertiesDictionary => this.Project.ProjectCollection.EnvironmentProperties; 4186Project.ProjectCollection.GetToolset, 4187Project.ProjectCollection.DefaultToolsVersion, 4196string toolsVersionList = Utilities.CreateToolsVersionListString(Project.ProjectCollection.Toolsets); 4210TaskRegistry = new TaskRegistry(Toolset, Project.ProjectCollection.ProjectRootElementCache);
Definition\ProjectCollection.cs (1)
1767ErrorUtilities.VerifyThrowInvalidOperation(ReferenceEquals(project.ProjectCollection, this), "OM_IncorrectObjectAssociation", "Project", "ProjectCollection");
Instance\ProjectInstance.cs (12)
392_hostServices = project.ProjectCollection.HostServices; 411this.CreateEnvironmentVariablePropertiesSnapshot(project.ProjectCollection.EnvironmentProperties); 415this.Toolset = project.ProjectCollection.GetToolset(project.ToolsVersion); 417this.TaskRegistry = new TaskRegistry(Toolset, project.ProjectCollection.ProjectRootElementCache); 419this.ProjectRootElementCache = project.ProjectCollection.ProjectRootElementCache; 445_hostServices = linkedProject.ProjectCollection.HostServices; 472_environmentVariableProperties = linkedProject.ProjectCollection.SharedReadOnlyEnvironmentProperties; 487Toolset = string.IsNullOrEmpty(linkedProject.ToolsVersion) ? null : linkedProject.ProjectCollection.GetToolset(linkedProject.ToolsVersion); 489TaskRegistry = Toolset is null ? new TaskRegistry(linkedProject.ProjectCollection.ProjectRootElementCache) : new TaskRegistry(Toolset, linkedProject.ProjectCollection.ProjectRootElementCache); 491ProjectRootElementCache = linkedProject.ProjectCollection.ProjectRootElementCache; 717this.ProjectRootElementCache = data.Project.ProjectCollection.ProjectRootElementCache;