4 writes to ProjectCollection
Microsoft.Build (4)
Definition\Project.cs (4)
119ProjectCollection = projectCollection; 276ProjectCollection = projectCollection; 370ProjectCollection = projectCollection; 467ProjectCollection = projectCollection;
25 references to ProjectCollection
Microsoft.Build (25)
Definition\Project.cs (12)
171/// <param name="projectCollection">The <see cref="ProjectCollection"/> the project is added to.</param> 184/// <param name="projectCollection">The <see cref="ProjectCollection"/> the project is added to.</param> 229/// <param name="projectCollection">The <see cref="ProjectCollection"/> the project is added to.</param> 245/// <param name="projectCollection">The <see cref="ProjectCollection"/> the project is added to.</param> 263/// <param name="projectCollection">The <see cref="ProjectCollection"/> the project is added to.</param> 851internal ILoggingService LoggingService => ProjectCollection.LoggingService; 1979private ProjectCollection ProjectCollection => Owner.ProjectCollection; 4076public PropertyDictionary<ProjectPropertyInstance> EnvironmentVariablePropertiesDictionary => this.Project.ProjectCollection.EnvironmentProperties; 4314Project.ProjectCollection.GetToolset, 4315Project.ProjectCollection.DefaultToolsVersion, 4324string toolsVersionList = Utilities.CreateToolsVersionListString(Project.ProjectCollection.Toolsets); 4338TaskRegistry = new TaskRegistry(Toolset, Project.ProjectCollection.ProjectRootElementCache);
Definition\ProjectCollection.cs (1)
1673ErrorUtilities.VerifyThrowInvalidOperation(ReferenceEquals(project.ProjectCollection, this), "OM_IncorrectObjectAssociation", "Project", "ProjectCollection");
Instance\ProjectInstance.cs (12)
383_hostServices = project.ProjectCollection.HostServices; 402this.CreateEnvironmentVariablePropertiesSnapshot(project.ProjectCollection.EnvironmentProperties); 406this.Toolset = project.ProjectCollection.GetToolset(project.ToolsVersion); 408this.TaskRegistry = new TaskRegistry(Toolset, project.ProjectCollection.ProjectRootElementCache); 410this.ProjectRootElementCache = project.ProjectCollection.ProjectRootElementCache; 436_hostServices = linkedProject.ProjectCollection.HostServices; 463_environmentVariableProperties = linkedProject.ProjectCollection.SharedReadOnlyEnvironmentProperties; 478Toolset = string.IsNullOrEmpty(linkedProject.ToolsVersion) ? null : linkedProject.ProjectCollection.GetToolset(linkedProject.ToolsVersion); 480TaskRegistry = Toolset is null ? new TaskRegistry(linkedProject.ProjectCollection.ProjectRootElementCache) : new TaskRegistry(Toolset, linkedProject.ProjectCollection.ProjectRootElementCache); 482ProjectRootElementCache = linkedProject.ProjectCollection.ProjectRootElementCache; 706this.ProjectRootElementCache = data.Project.ProjectCollection.ProjectRootElementCache;