4 writes to ProjectCollection
Microsoft.Build (4)
Definition\Project.cs (4)
113
ProjectCollection
= projectCollection;
270
ProjectCollection
= projectCollection;
364
ProjectCollection
= projectCollection;
461
ProjectCollection
= projectCollection;
37 references to ProjectCollection
Microsoft.Build (24)
Definition\Project.cs (12)
165
/// <param name="projectCollection">The <see cref="
ProjectCollection
"/> the project is added to.</param>
178
/// <param name="projectCollection">The <see cref="
ProjectCollection
"/> the project is added to.</param>
223
/// <param name="projectCollection">The <see cref="
ProjectCollection
"/> the project is added to.</param>
239
/// <param name="projectCollection">The <see cref="
ProjectCollection
"/> the project is added to.</param>
257
/// <param name="projectCollection">The <see cref="
ProjectCollection
"/> the project is added to.</param>
845
internal ILoggingService LoggingService =>
ProjectCollection
.LoggingService;
1973
private ProjectCollection ProjectCollection => Owner.
ProjectCollection
;
4066
public PropertyDictionary<ProjectPropertyInstance> EnvironmentVariablePropertiesDictionary => this.Project.
ProjectCollection
.EnvironmentProperties;
4300
Project.
ProjectCollection
.GetToolset,
4301
Project.
ProjectCollection
.DefaultToolsVersion,
4310
string toolsVersionList = Utilities.CreateToolsVersionListString(Project.
ProjectCollection
.Toolsets);
4324
TaskRegistry = new TaskRegistry(Toolset, Project.
ProjectCollection
.ProjectRootElementCache);
Definition\ProjectCollection.cs (1)
1611
ErrorUtilities.VerifyThrowInvalidOperation(ReferenceEquals(project.
ProjectCollection
, this), "OM_IncorrectObjectAssociation", "Project", "ProjectCollection");
Instance\ProjectInstance.cs (11)
376
_hostServices = project.
ProjectCollection
.HostServices;
395
this.CreateEnvironmentVariablePropertiesSnapshot(project.
ProjectCollection
.EnvironmentProperties);
399
this.Toolset = project.
ProjectCollection
.GetToolset(project.ToolsVersion);
401
this.TaskRegistry = new TaskRegistry(Toolset, project.
ProjectCollection
.ProjectRootElementCache);
403
this.ProjectRootElementCache = project.
ProjectCollection
.ProjectRootElementCache;
433
_hostServices = linkedProject.
ProjectCollection
.HostServices;
460
_environmentVariableProperties = linkedProject.
ProjectCollection
.SharedReadOnlyEnvironmentProperties;
475
Toolset = linkedProject.
ProjectCollection
.GetToolset(linkedProject.ToolsVersion);
477
TaskRegistry = new TaskRegistry(Toolset, linkedProject.
ProjectCollection
.ProjectRootElementCache);
479
ProjectRootElementCache = linkedProject.
ProjectCollection
.ProjectRootElementCache;
673
this.ProjectRootElementCache = data.Project.
ProjectCollection
.ProjectRootElementCache;
Microsoft.Build.Engine.OM.UnitTests (10)
Definition\Project_Tests.cs (6)
1237
Toolset t = p.
ProjectCollection
.GetToolset(ObjectModelHelpers.MSBuildDefaultToolsVersion);
1369
project.
ProjectCollection
.UnloadAllProjects();
2110
project.
ProjectCollection
.RegisterLogger(collectionLogger);
2122
project.
ProjectCollection
.UnregisterAllLoggers();
2586
project.
ProjectCollection
.UnloadAllProjects();
2630
project.
ProjectCollection
.UnloadAllProjects();
Definition\ProjectCollection_Tests.cs (2)
876
project.
ProjectCollection
.UnloadProject(project);
919
project.
ProjectCollection
.UnloadProject(project);
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
364
Assert.NotSame(view.
ProjectCollection
, real.
ProjectCollection
);
Microsoft.Build.Engine.UnitTests (3)
FileLogger_Tests.cs (3)
41
project.
ProjectCollection
.UnregisterAllLoggers();
376
project.
ProjectCollection
.UnregisterAllLoggers();
413
project.
ProjectCollection
.UnregisterAllLoggers();