2 writes to _eventSinkDictionary
Microsoft.Build (2)
BackEnd\Components\Logging\LoggingService.cs (2)
302_eventSinkDictionary = new Dictionary<int, IBuildEventSink>(); 943_eventSinkDictionary = null;
14 references to _eventSinkDictionary
Microsoft.Build (14)
BackEnd\Components\Logging\LoggingService.cs (14)
526get => _includeEvaluationMetaprojects ??= _eventSinkDictionary.Values.OfType<EventSourceSink>().Any(sink => sink.IncludeEvaluationMetaprojects); 535get => _includeEvaluationProfile ??= _eventSinkDictionary.Values.OfType<EventSourceSink>().Any(sink => sink.IncludeEvaluationProfiles); 544get => _includeTaskInputs ??= _eventSinkDictionary.Values.OfType<EventSourceSink>().Any(sink => sink.IncludeTaskInputs); 577var sinks = _eventSinkDictionary.Values.OfType<EventSourceSink>().ToList(); 798if (_eventSinkDictionary == null) 804foreach (KeyValuePair<int, IBuildEventSink> kvp in _eventSinkDictionary) 922foreach (IBuildEventSink sink in _eventSinkDictionary.Values) 1077EventSourceSink eventSource = (EventSourceSink)_eventSinkDictionary[_centralForwardingLoggerSinkId]; 1172_eventSinkDictionary.Add(sinkId, eventSourceSink); 1201foreach (KeyValuePair<int, IBuildEventSink> sinkPair in _eventSinkDictionary) 1213_eventSinkDictionary.Add(sinkId, forwardingLoggerSink); 1709bool gotSink = _eventSinkDictionary.TryGetValue(nodeEvent.Key, out IBuildEventSink sink); 1742foreach (KeyValuePair<int, IBuildEventSink> pair in _eventSinkDictionary) 1759foreach (KeyValuePair<int, IBuildEventSink> pair in _eventSinkDictionary)