1 write to eventSources
Microsoft.Build.Engine (1)
Engine\EngineLoggingServicesInProc.cs (1)
44
this.
eventSources
= new Dictionary<int, EventSource>();
11 references to eventSources
Microsoft.Build.Engine (11)
Engine\EngineLoggingServicesInProc.cs (11)
72
ErrorUtilities.VerifyThrow(
eventSources
.ContainsKey(loggerId), "Logger Id should be registered");
74
eventSources
[loggerId].RaiseStronglyTypedEvent(nodeLoggingEvent.BuildEvent);
79
foreach (KeyValuePair<int, EventSource> eventSource in
eventSources
)
115
if (
eventSources
.ContainsKey(LOCAL_FORWARDING_EVENTSOURCE))
117
eventSources
[LOCAL_FORWARDING_EVENTSOURCE].RaiseStronglyTypedEvent(buildEventArgs);
126
ErrorUtilities.VerifyThrow(!
eventSources
.ContainsKey(loggerId), "Should not see duplicate logger ids");
127
eventSources
[loggerId] = eventSource;
132
if (
eventSources
.ContainsKey(loggerId))
134
eventSources
[loggerId].UnregisterAllLoggers();
135
eventSources
.Remove(loggerId);
144
foreach (EventSource eventSource in
eventSources
.Values)