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