2 types derived from WorkspaceDiagnostic
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\DocumentDiagnostic.cs (1)
9public class DocumentDiagnostic : WorkspaceDiagnostic
Workspace\Solution\ProjectDiagnostic.cs (1)
9public class ProjectDiagnostic : WorkspaceDiagnostic
2 instantiations of WorkspaceDiagnostic
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\DiagnosticReporter.cs (1)
36Report(new WorkspaceDiagnostic(WorkspaceDiagnosticKind.Failure, message));
MSBuild\MSBuildProjectLoader.Worker.cs (1)
150new WorkspaceDiagnostic(
15 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)
13public WorkspaceDiagnostic Diagnostic { get; } 15public WorkspaceDiagnosticEventArgs(WorkspaceDiagnostic diagnostic)
Microsoft.CodeAnalysis.Workspaces.MSBuild (6)
MSBuild\DiagnosticReporter.cs (4)
14internal ImmutableList<WorkspaceDiagnostic> Diagnostics; 20Diagnostics = ImmutableList<WorkspaceDiagnostic>.Empty; 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 (5)
VisualStudioMSBuildWorkspaceTests.cs (5)
2582var diagnostic = Assert.Single(workspace.Diagnostics); 2972var diagnostic = Assert.Single(workspace.Diagnostics); 2989var diagnostic = Assert.Single(workspace.Diagnostics); 3006var diagnostic = Assert.Single(workspace.Diagnostics); 3024var diagnostic = Assert.Single(workspace.Diagnostics);