47 instantiations of HostServices
Microsoft.Build (1)
Definition\ProjectCollection.cs (1)
735
_hostServices = new
HostServices
();
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\ProjectCollection_Tests.cs (1)
1214
collection.HostServices = new
HostServices
();
Microsoft.Build.Engine.UnitTests (45)
BackEnd\BuildManager_Tests.cs (13)
1137
var brd = new BuildRequestData(project.FullPath, globalProperties, null, targets, new
HostServices
());
2347
var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new
HostServices
());
2408
var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new
HostServices
());
2466
var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new
HostServices
());
2514
var data = new BuildRequestData(projA, new Dictionary<string, string>(), null, new[] { "Build" }, new
HostServices
());
2603
var data = new BuildRequestData(projA, new Dictionary<string, string>(), "4.0", new[] { "Build" }, new
HostServices
());
2674
new[] { "Build" }, new
HostServices
());
2771
new[] { "Build" }, new
HostServices
());
2871
new[] { "Build" }, new
HostServices
());
2957
new[] { "Build" }, new
HostServices
());
3026
new[] { "Build" }, new
HostServices
());
3308
var services = new
HostServices
();
3448
var services = new
HostServices
();
BackEnd\BuildRequest_Tests.cs (2)
146
var hostServices = new
HostServices
();
185
var hostServices = new
HostServices
();
BackEnd\Scheduler_Tests.cs (1)
815
hostServices = new
HostServices
();
Instance\HostServices_Tests.cs (28)
41
HostServices hostServices = new
HostServices
();
62
HostServices hostServices = new
HostServices
();
75
HostServices hostServices = new
HostServices
();
88
HostServices hostServices = new
HostServices
();
99
HostServices hostServices = new
HostServices
();
114
HostServices hostServices = new
HostServices
();
124
HostServices hostServices = new
HostServices
();
136
HostServices hostServices = new
HostServices
();
152
HostServices hostServices = new
HostServices
();
163
HostServices hostServices = new
HostServices
();
184
HostServices hostServices = new
HostServices
();
198
HostServices hostServices = new
HostServices
();
219
HostServices hostServices = new
HostServices
();
234
HostServices hostServices = new
HostServices
();
249
HostServices hostServices = new
HostServices
();
260
HostServices hostServices = new
HostServices
();
276
HostServices hostServices = new
HostServices
();
288
HostServices hostServices = new
HostServices
();
302
HostServices hostServices = new
HostServices
();
315
HostServices hostServices = new
HostServices
();
327
HostServices hostServices = new
HostServices
();
340
HostServices hostServices = new
HostServices
();
354
HostServices hostServices = new
HostServices
();
370
HostServices hostServices = new
HostServices
();
390
HostServices hostServices = new
HostServices
();
406
HostServices hostServices = new
HostServices
();
425
HostServices hostServices = new
HostServices
();
449
var hostServices = new
HostServices
();
Instance\ProjectInstance_Internal_Tests.cs (1)
458
var hostServices = new
HostServices
();
70 references to HostServices
Microsoft.Build (32)
BackEnd\BuildManager\BuildParameters.cs (1)
478
public
HostServices
HostServices { get; set; }
BackEnd\BuildManager\BuildRequestData.cs (9)
110
public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild,
HostServices
hostServices)
122
public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags)
135
public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags, IEnumerable<string> propertiesToTransfer)
165
public BuildRequestData(ProjectInstance projectInstance, string[] targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags, IEnumerable<string> propertiesToTransfer, RequestedProjectState requestedProjectState)
182
public BuildRequestData(string projectFullPath, IDictionary<string, string> globalProperties, string toolsVersion, string[] targetsToBuild,
HostServices
hostServices)
198
string toolsVersion, string[] targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags,
216
public BuildRequestData(string projectFullPath, IDictionary<string, string> globalProperties, string toolsVersion, string[] targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags)
235
private BuildRequestData(string[] targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags)
285
public
HostServices
HostServices { get; }
BackEnd\Shared\BuildRequest.cs (5)
106
HostServices
hostServices,
145
HostServices
hostServices,
178
HostServices
hostServices,
380
internal
HostServices
HostServices
387
private
HostServices
_hostServices;
Definition\ProjectCollection.cs (2)
138
private
HostServices
_hostServices;
719
public
HostServices
HostServices
Graph\GraphBuildRequestData.cs (11)
41
public GraphBuildRequestData(ProjectGraph projectGraph, ICollection<string> targetsToBuild,
HostServices
hostServices)
53
public GraphBuildRequestData(ProjectGraph projectGraph, ICollection<string> targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags)
68
public GraphBuildRequestData(string projectFullPath, IDictionary<string, string> globalProperties, ICollection<string> targetsToBuild,
HostServices
hostServices)
81
public GraphBuildRequestData(string projectFullPath, IDictionary<string, string> globalProperties, ICollection<string> targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags)
102
public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild,
HostServices
hostServices)
114
public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags)
135
public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild,
HostServices
hostServices)
147
public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags)
155
public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags, GraphBuildOptions graphBuildOptions)
166
private GraphBuildRequestData(ICollection<string> targetsToBuild,
HostServices
hostServices, BuildRequestDataFlags flags, GraphBuildOptions graphBuildOptions = null)
213
public
HostServices
HostServices { get; }
Instance\ProjectInstance.cs (4)
161
private
HostServices
_hostServices;
639
internal ProjectInstance(Evaluation.Project.Data data, string directory, string fullPath,
HostServices
hostServices, PropertyDictionary<ProjectPropertyInstance> environmentVariableProperties, ProjectInstanceSettings settings)
2199
internal void LateInitialize(ProjectRootElementCacheBase projectRootElementCache,
HostServices
hostServices)
2202
ErrorUtilities.VerifyThrow(_hostServices == null, $"{nameof(
HostServices
)} is already set. Cannot set again");
Microsoft.Build.Engine.UnitTests (38)
BackEnd\BuildManager_Tests.cs (2)
3308
var
services = new HostServices();
3448
var
services = new HostServices();
BackEnd\BuildRequest_Tests.cs (2)
146
var
hostServices = new HostServices();
185
var
hostServices = new HostServices();
BackEnd\Scheduler_Tests.cs (1)
811
HostServices
hostServices = null;
Instance\HostServices_Tests.cs (28)
41
HostServices
hostServices = new HostServices();
62
HostServices
hostServices = new HostServices();
75
HostServices
hostServices = new HostServices();
88
HostServices
hostServices = new HostServices();
99
HostServices
hostServices = new HostServices();
114
HostServices
hostServices = new HostServices();
124
HostServices
hostServices = new HostServices();
136
HostServices
hostServices = new HostServices();
152
HostServices
hostServices = new HostServices();
163
HostServices
hostServices = new HostServices();
184
HostServices
hostServices = new HostServices();
198
HostServices
hostServices = new HostServices();
219
HostServices
hostServices = new HostServices();
234
HostServices
hostServices = new HostServices();
249
HostServices
hostServices = new HostServices();
260
HostServices
hostServices = new HostServices();
276
HostServices
hostServices = new HostServices();
288
HostServices
hostServices = new HostServices();
302
HostServices
hostServices = new HostServices();
315
HostServices
hostServices = new HostServices();
327
HostServices
hostServices = new HostServices();
340
HostServices
hostServices = new HostServices();
354
HostServices
hostServices = new HostServices();
370
HostServices
hostServices = new HostServices();
390
HostServices
hostServices = new HostServices();
406
HostServices
hostServices = new HostServices();
425
HostServices
hostServices = new HostServices();
449
var
hostServices = new HostServices();
Instance\ProjectInstance_Internal_Tests.cs (5)
458
var
hostServices = new HostServices();
937
private static ProjectInstance GetProjectInstance(string content,
HostServices
hostServices)
945
private static ProjectInstance GetProjectInstance(string content,
HostServices
hostServices, IDictionary<string, string> globalProperties, ProjectCollection projectCollection, string toolsVersion = null)
975
private static ProjectInstance GetSampleProjectInstance(
HostServices
hostServices)
983
private static ProjectInstance GetSampleProjectInstance(
HostServices
hostServices, IDictionary<string, string> globalProperties, ProjectCollection projectCollection, string toolsVersion = null)