4 writes to _taskRegistrations
Microsoft.Build (4)
Instance\TaskRegistry.cs (4)
238
_taskRegistrations
= CreateRegisteredTaskDictionary();
275
taskRegistry.
_taskRegistrations
??= TaskRegistry.CreateRegisteredTaskDictionary();
697
_taskRegistrations
= CreateRegisteredTaskDictionary();
1846
_taskRegistrations
= (Dictionary<RegisteredTaskIdentity, List<RegisteredTaskRecord>>)copy;
10 references to _taskRegistrations
Microsoft.Build (10)
Instance\TaskRegistry.cs (10)
236
if (
_taskRegistrations
== null)
241
return
_taskRegistrations
;
552
if (taskRecord == null &&
_taskRegistrations
?.Count > 0)
659
if (
_taskRegistrations
.TryGetValue(taskIdentity, out List<RegisteredTaskRecord> taskAssemblies))
671
return
_taskRegistrations
695
if (
_taskRegistrations
== null)
704
if (!
_taskRegistrations
.TryGetValue(taskIdentity, out registeredTaskEntries))
707
_taskRegistrations
[taskIdentity] = registeredTaskEntries;
1841
IDictionary<RegisteredTaskIdentity, List<RegisteredTaskRecord>> copy =
_taskRegistrations
;
1848
_isInitialized =
_taskRegistrations
!= null;