3 instantiations of WorkspaceDiagnostic
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
MSBuild\DiagnosticReporter.cs (1)
36Report(new WorkspaceDiagnostic(WorkspaceDiagnosticKind.Failure, message));
MSBuild\DiagnosticReporterLoggerProvider.cs (1)
55reporter.Report(new WorkspaceDiagnostic(kind, message));
MSBuild\MSBuildProjectLoader.Worker.cs (1)
146new WorkspaceDiagnostic(
17 references to WorkspaceDiagnostic
AnalyzerRunner (1)
Program.cs (1)
80foreach (var workspaceDiagnostic in workspace.Diagnostics)
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Workspace_Events.cs (1)
97protected internal virtual void OnWorkspaceFailed(WorkspaceDiagnostic diagnostic)
Workspace\WorkspaceDiagnosticEventArgs.cs (2)
11public class WorkspaceDiagnosticEventArgs(WorkspaceDiagnostic diagnostic) : EventArgs 13public WorkspaceDiagnostic Diagnostic { get; } = diagnostic;
Microsoft.CodeAnalysis.Workspaces.MSBuild (5)
MSBuild\DiagnosticReporter.cs (3)
14internal ImmutableList<WorkspaceDiagnostic> Diagnostics; 47internal void AddDiagnostic(WorkspaceDiagnostic diagnostic) 52public void Report(WorkspaceDiagnostic diagnostic)
MSBuild\MSBuildWorkspace.cs (2)
105public ImmutableList<WorkspaceDiagnostic> Diagnostics => _reporter.Diagnostics; 107protected internal override void OnWorkspaceFailed(WorkspaceDiagnostic diagnostic)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (8)
NetCoreTests.cs (1)
478var diagnostic = Assert.Single(workspace.Diagnostics);
VisualStudioMSBuildWorkspaceTests.cs (7)
2617var diagnostic = Assert.Single(workspace.Diagnostics); 3006var diagnostic = Assert.Single(workspace.Diagnostics); 3023var diagnostic = Assert.Single(workspace.Diagnostics); 3040var diagnostic = Assert.Single(workspace.Diagnostics); 3058var diagnostic = Assert.Single(workspace.Diagnostics); 3073var diagnostic = Assert.Single(workspace.Diagnostics); 3090var diagnostic = Assert.Single(workspace.Diagnostics);