3 writes to _hostObjectMap
Microsoft.Build (3)
Instance\HostServices.cs (3)
143
_hostObjectMap
??= new Dictionary<string, HostObjects>(StringComparer.OrdinalIgnoreCase);
172
_hostObjectMap
??= new Dictionary<string, HostObjects>(StringComparer.OrdinalIgnoreCase);
332
_hostObjectMap
= hostObjectMap;
14 references to _hostObjectMap
Microsoft.Build (14)
Instance\HostServices.cs (14)
74
if (
_hostObjectMap
== null || !
_hostObjectMap
.TryGetValue(projectFile, out hostObjects))
186
_hostObjectMap
?.Remove(projectFullPath);
236
if (oldFullPath != null &&
_hostObjectMap
!= null &&
_hostObjectMap
.TryGetValue(oldFullPath, out hostObjects))
238
_hostObjectMap
.Remove(oldFullPath);
239
_hostObjectMap
[newFullPath] = hostObjects;
248
if (
_hostObjectMap
== null)
255
if (!
_hostObjectMap
.TryGetValue(projectFile, out hostObjects))
298
if (!
_hostObjectMap
.TryGetValue(projectFile, out var hostObjects))
301
_hostObjectMap
[projectFile] = hostObjects;
337
if (
_hostObjectMap
== null)
344
foreach (var pair in
_hostObjectMap
)
357
foreach (var pair in
_hostObjectMap
)