3 writes to HostServices
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\ProjectCollection_Tests.cs (1)
1219collection.HostServices = new HostServices();
Microsoft.Build.Engine.UnitTests (2)
Instance\HostServices_Tests.cs (2)
408ProjectCollection.GlobalProjectCollection.HostServices = hostServices; 427ProjectCollection.GlobalProjectCollection.HostServices = hostServices;
14 references to HostServices
Microsoft.Build (6)
Definition\Project.cs (1)
3707return new ProjectInstance(_data, DirectoryPath, FullPath, ProjectCollection.HostServices, ProjectCollection.EnvironmentProperties, settings);
Definition\ProjectCollection.cs (2)
716/// By default, <see cref="HostServices">HostServices</see> is used. 1593HostServices.OnRenameProject(oldFullPathIfAny, project.FullPath);
Definition\ProjectCollectionChangedEventArgs.cs (1)
46/// The <see cref="ProjectCollection.HostServices"/> property changed.
Instance\ProjectInstance.cs (2)
376_hostServices = project.ProjectCollection.HostServices; 433_hostServices = linkedProject.ProjectCollection.HostServices;
Microsoft.Build.Engine.UnitTests (8)
BackEnd\BuildManager_Tests.cs (4)
444var data = new BuildRequestData(project.CreateProjectInstance(), Array.Empty<string>(), _projectCollection.HostServices); 506_projectCollection.HostServices, BuildRequestDataFlags.ProvideSubsetOfStateAfterBuild, null, 3565=> new BuildRequestData(CreateProjectInstance(projectContents, toolsVersion, _projectCollection, true), targets, _projectCollection.HostServices); 3571=> new GraphBuildRequestData(CreateProjectGraph(projectContents, _projectCollection), targets, _projectCollection.HostServices);
BackEnd\SdkResultOutOfProc_Tests.cs (2)
125var data = new BuildRequestData(projectInstance, new[] { "GetCurrentProcessId", "GetResolverResults" }, _projectCollection.HostServices); 170var data = new BuildRequestData(projectInstance, new[] { "GetCurrentProcessId", "GetResolverResults" }, _projectCollection.HostServices);
BackEnd\TaskBuilder_Tests.cs (1)
179BuildRequestData data = new BuildRequestData(project.CreateProjectInstance(), new string[] { "test" }, collection.HostServices);
EvaluationProfiler_Tests.cs (1)
287projectCollection.HostServices);