4 writes to ProjectCollection
Microsoft.Build (4)
Definition\Project.cs (4)
107
ProjectCollection
= projectCollection;
264
ProjectCollection
= projectCollection;
358
ProjectCollection
= projectCollection;
455
ProjectCollection
= 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>
857
internal ILoggingService LoggingService =>
ProjectCollection
.LoggingService;
1996
private ProjectCollection ProjectCollection => Owner.
ProjectCollection
;
3948
public PropertyDictionary<ProjectPropertyInstance> EnvironmentVariablePropertiesDictionary => this.Project.
ProjectCollection
.EnvironmentProperties;
4186
Project.
ProjectCollection
.GetToolset,
4187
Project.
ProjectCollection
.DefaultToolsVersion,
4196
string toolsVersionList = Utilities.CreateToolsVersionListString(Project.
ProjectCollection
.Toolsets);
4210
TaskRegistry = new TaskRegistry(Toolset, Project.
ProjectCollection
.ProjectRootElementCache);
Definition\ProjectCollection.cs (1)
1767
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;