internal void HostReportEvent(BuildEventArgs e) { if (host != null) { host.CallMethodOnHost("ReportEvent", e); } else { // enable error reporting for in-process builds EventSource eventSource = hostEventSource; if (eventSource != null) { eventSource.RaiseEvent(e); } } }
public void RaiseEvent(BuildEventArgs e) { eventSource.RaiseEvent(e); }