2 writes to _eventSource
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (2)
41
_eventSource
= eventSource;
53
_eventSource
= null;
6 references to _eventSource
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (6)
39
Debug.Assert(
_eventSource
== null);
42
_eventSource
.ErrorRaised += OnErrorRaised;
43
_eventSource
.WarningRaised += OnWarningRaised;
48
if (
_eventSource
!= null)
50
_eventSource
.ErrorRaised -= OnErrorRaised;
51
_eventSource
.WarningRaised -= OnWarningRaised;