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>
851
internal ILoggingService LoggingService =>
ProjectCollection
.LoggingService;
1979
private ProjectCollection ProjectCollection => Owner.
ProjectCollection
;
4076
public PropertyDictionary<ProjectPropertyInstance> EnvironmentVariablePropertiesDictionary => this.Project.
ProjectCollection
.EnvironmentProperties;
4314
Project.
ProjectCollection
.GetToolset,
4315
Project.
ProjectCollection
.DefaultToolsVersion,
4324
string toolsVersionList = Utilities.CreateToolsVersionListString(Project.
ProjectCollection
.Toolsets);
4338
TaskRegistry = new TaskRegistry(Toolset, Project.
ProjectCollection
.ProjectRootElementCache);
Definition\ProjectCollection.cs (1)
1673
ErrorUtilities.VerifyThrowInvalidOperation(ReferenceEquals(project.
ProjectCollection
, this), "OM_IncorrectObjectAssociation", "Project", "ProjectCollection");
Instance\ProjectInstance.cs (12)
383
_hostServices = project.
ProjectCollection
.HostServices;
402
this.CreateEnvironmentVariablePropertiesSnapshot(project.
ProjectCollection
.EnvironmentProperties);
406
this.Toolset = project.
ProjectCollection
.GetToolset(project.ToolsVersion);
408
this.TaskRegistry = new TaskRegistry(Toolset, project.
ProjectCollection
.ProjectRootElementCache);
410
this.ProjectRootElementCache = project.
ProjectCollection
.ProjectRootElementCache;
436
_hostServices = linkedProject.
ProjectCollection
.HostServices;
463
_environmentVariableProperties = linkedProject.
ProjectCollection
.SharedReadOnlyEnvironmentProperties;
478
Toolset = string.IsNullOrEmpty(linkedProject.ToolsVersion) ? null : linkedProject.
ProjectCollection
.GetToolset(linkedProject.ToolsVersion);
480
TaskRegistry = Toolset is null ? new TaskRegistry(linkedProject.
ProjectCollection
.ProjectRootElementCache) : new TaskRegistry(Toolset, linkedProject.
ProjectCollection
.ProjectRootElementCache);
482
ProjectRootElementCache = linkedProject.
ProjectCollection
.ProjectRootElementCache;
706
this.ProjectRootElementCache = data.Project.
ProjectCollection
.ProjectRootElementCache;