3 writes to HostServices
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\ProjectCollection_Tests.cs (1)
1219
collection.
HostServices
= new HostServices();
Microsoft.Build.Engine.UnitTests (2)
Instance\HostServices_Tests.cs (2)
408
ProjectCollection.GlobalProjectCollection.
HostServices
= hostServices;
427
ProjectCollection.GlobalProjectCollection.
HostServices
= hostServices;
14 references to HostServices
Microsoft.Build (6)
Definition\Project.cs (1)
3707
return new ProjectInstance(_data, DirectoryPath, FullPath, ProjectCollection.
HostServices
, ProjectCollection.EnvironmentProperties, settings);
Definition\ProjectCollection.cs (2)
716
/// By default, <see cref="
HostServices
">HostServices</see> is used.
1593
HostServices
.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)
444
var 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)
125
var data = new BuildRequestData(projectInstance, new[] { "GetCurrentProcessId", "GetResolverResults" }, _projectCollection.
HostServices
);
170
var data = new BuildRequestData(projectInstance, new[] { "GetCurrentProcessId", "GetResolverResults" }, _projectCollection.
HostServices
);
BackEnd\TaskBuilder_Tests.cs (1)
179
BuildRequestData data = new BuildRequestData(project.CreateProjectInstance(), new string[] { "test" }, collection.
HostServices
);
EvaluationProfiler_Tests.cs (1)
287
projectCollection.
HostServices
);