4 writes to ProjectCollection
Microsoft.Build (4)
Definition\Project.cs (4)
119
ProjectCollection
= projectCollection;
276
ProjectCollection
= projectCollection;
370
ProjectCollection
= projectCollection;
467
ProjectCollection
= 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>
869
internal ILoggingService LoggingService =>
ProjectCollection
.LoggingService;
2008
private ProjectCollection ProjectCollection => Owner.
ProjectCollection
;
4118
public PropertyDictionary<ProjectPropertyInstance> EnvironmentVariablePropertiesDictionary => this.Project.
ProjectCollection
.EnvironmentProperties;
4356
Project.
ProjectCollection
.GetToolset,
4357
Project.
ProjectCollection
.DefaultToolsVersion,
4366
string toolsVersionList = Utilities.CreateToolsVersionListString(Project.
ProjectCollection
.Toolsets);
4380
TaskRegistry = new TaskRegistry(Toolset, Project.
ProjectCollection
.ProjectRootElementCache);
Definition\ProjectCollection.cs (1)
1723
ErrorUtilities.VerifyThrowInvalidOperation(ReferenceEquals(project.
ProjectCollection
, this), "OM_IncorrectObjectAssociation", "Project", "ProjectCollection");
Instance\ProjectInstance.cs (12)
392
_hostServices = project.
ProjectCollection
.HostServices;
411
this.CreateEnvironmentVariablePropertiesSnapshot(project.
ProjectCollection
.EnvironmentProperties);
415
this.Toolset = project.
ProjectCollection
.GetToolset(project.ToolsVersion);
417
this.TaskRegistry = new TaskRegistry(Toolset, project.
ProjectCollection
.ProjectRootElementCache);
419
this.ProjectRootElementCache = project.
ProjectCollection
.ProjectRootElementCache;
445
_hostServices = linkedProject.
ProjectCollection
.HostServices;
472
_environmentVariableProperties = linkedProject.
ProjectCollection
.SharedReadOnlyEnvironmentProperties;
487
Toolset = string.IsNullOrEmpty(linkedProject.ToolsVersion) ? null : linkedProject.
ProjectCollection
.GetToolset(linkedProject.ToolsVersion);
489
TaskRegistry = Toolset is null ? new TaskRegistry(linkedProject.
ProjectCollection
.ProjectRootElementCache) : new TaskRegistry(Toolset, linkedProject.
ProjectCollection
.ProjectRootElementCache);
491
ProjectRootElementCache = linkedProject.
ProjectCollection
.ProjectRootElementCache;
717
this.ProjectRootElementCache = data.Project.
ProjectCollection
.ProjectRootElementCache;