16 references to Failure
AnalyzerRunner (1)
Program.cs (1)
82if (workspaceDiagnostic.Kind == WorkspaceDiagnosticKind.Failure)
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\WorkspaceDiagnostic.cs (1)
22case WorkspaceDiagnosticKind.Failure: kindText = WorkspacesResources.Failure; break;
Microsoft.CodeAnalysis.Workspaces.MSBuild (13)
MSBuild\DiagnosticReporter.cs (1)
36Report(new WorkspaceDiagnostic(WorkspaceDiagnosticKind.Failure, message));
MSBuild\DiagnosticReporterLoggerProvider.cs (1)
50var kind = logLevel == LogLevel.Warning ? WorkspaceDiagnosticKind.Warning : WorkspaceDiagnosticKind.Failure;
MSBuild\MSBuildWorkspace.cs (11)
343_reporter.Report(new ProjectDiagnostic(WorkspaceDiagnosticKind.Failure, 358_reporter.Report(new ProjectDiagnostic(WorkspaceDiagnosticKind.Failure, exception.Message, projectChanges.ProjectId)); 375_reporter.Report(new ProjectDiagnostic(WorkspaceDiagnosticKind.Failure, exception.Message, projectChanges.ProjectId)); 394_reporter.Report(new DocumentDiagnostic(WorkspaceDiagnosticKind.Failure, message, document.Id)); 412_reporter.Report(new DocumentDiagnostic(WorkspaceDiagnosticKind.Failure, message, document.Id)); 505_reporter.Report(new DocumentDiagnostic(WorkspaceDiagnosticKind.Failure, exception.Message, id)); 533_reporter.Report(new DocumentDiagnostic(WorkspaceDiagnosticKind.Failure, exception.Message, documentId)); 537_reporter.Report(new DocumentDiagnostic(WorkspaceDiagnosticKind.Failure, exception.Message, documentId)); 541_reporter.Report(new DocumentDiagnostic(WorkspaceDiagnosticKind.Failure, exception.Message, documentId)); 577_reporter.Report(new ProjectDiagnostic(WorkspaceDiagnosticKind.Failure, message, projectId)); 613_reporter.Report(new ProjectDiagnostic(WorkspaceDiagnosticKind.Failure, message, projectId));
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
MSBuildWorkspaceTestBase.cs (1)
29AssertEx.Equal(expectedFailures, workspace.Diagnostics.Where(d => d.Kind == WorkspaceDiagnosticKind.Failure).Select(d => d.Message));