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)
526
get => _includeEvaluationMetaprojects ??=
_eventSinkDictionary
.Values.OfType<EventSourceSink>().Any(sink => sink.IncludeEvaluationMetaprojects);
535
get => _includeEvaluationProfile ??=
_eventSinkDictionary
.Values.OfType<EventSourceSink>().Any(sink => sink.IncludeEvaluationProfiles);
544
get => _includeTaskInputs ??=
_eventSinkDictionary
.Values.OfType<EventSourceSink>().Any(sink => sink.IncludeTaskInputs);
577
var sinks =
_eventSinkDictionary
.Values.OfType<EventSourceSink>().ToList();
798
if (
_eventSinkDictionary
== null)
804
foreach (KeyValuePair<int, IBuildEventSink> kvp in
_eventSinkDictionary
)
922
foreach (IBuildEventSink sink in
_eventSinkDictionary
.Values)
1077
EventSourceSink eventSource = (EventSourceSink)
_eventSinkDictionary
[_centralForwardingLoggerSinkId];
1172
_eventSinkDictionary
.Add(sinkId, eventSourceSink);
1201
foreach (KeyValuePair<int, IBuildEventSink> sinkPair in
_eventSinkDictionary
)
1213
_eventSinkDictionary
.Add(sinkId, forwardingLoggerSink);
1709
bool gotSink =
_eventSinkDictionary
.TryGetValue(nodeEvent.Key, out IBuildEventSink sink);
1742
foreach (KeyValuePair<int, IBuildEventSink> pair in
_eventSinkDictionary
)
1759
foreach (KeyValuePair<int, IBuildEventSink> pair in
_eventSinkDictionary
)