2 writes to _eventSinkDictionary
Microsoft.Build (2)
BackEnd\Components\Logging\LoggingService.cs (2)
346_eventSinkDictionary = new Dictionary<int, IBuildEventSink>(); 1017_eventSinkDictionary = null;
14 references to _eventSinkDictionary
Microsoft.Build (14)
BackEnd\Components\Logging\LoggingService.cs (14)
590get => _includeEvaluationMetaprojects ??= _eventSinkDictionary.Values.OfType<EventSourceSink>().Any(sink => sink.IncludeEvaluationMetaprojects); 599get => _includeEvaluationProfile ??= _eventSinkDictionary.Values.OfType<EventSourceSink>().Any(sink => sink.IncludeEvaluationProfiles); 608get => _includeTaskInputs ??= _eventSinkDictionary.Values.OfType<EventSourceSink>().Any(sink => sink.IncludeTaskInputs); 641var sinks = _eventSinkDictionary.Values.OfType<EventSourceSink>() 868if (_eventSinkDictionary == null) 874foreach (KeyValuePair<int, IBuildEventSink> kvp in _eventSinkDictionary) 995foreach (IBuildEventSink sink in _eventSinkDictionary.Values) 1100EventSourceSink eventSource = (EventSourceSink)_eventSinkDictionary[_centralForwardingLoggerSinkId]; 1249_eventSinkDictionary.Add(sinkId, eventSourceSink); 1278foreach (KeyValuePair<int, IBuildEventSink> sinkPair in _eventSinkDictionary) 1290_eventSinkDictionary.Add(sinkId, forwardingLoggerSink); 1965bool gotSink = _eventSinkDictionary.TryGetValue(nodeEvent.Key, out IBuildEventSink sink); 1998foreach (KeyValuePair<int, IBuildEventSink> pair in _eventSinkDictionary) 2015foreach (KeyValuePair<int, IBuildEventSink> pair in _eventSinkDictionary)