16 references to Failure
AnalyzerRunner (1)
Program.cs (1)
82
if (workspaceDiagnostic.Kind == WorkspaceDiagnosticKind.
Failure
)
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\WorkspaceDiagnostic.cs (1)
22
case WorkspaceDiagnosticKind.
Failure
: kindText = WorkspacesResources.Failure; break;
Microsoft.CodeAnalysis.Workspaces.MSBuild (13)
MSBuild\DiagnosticReporter.cs (1)
36
Report(new WorkspaceDiagnostic(WorkspaceDiagnosticKind.
Failure
, message));
MSBuild\DiagnosticReporterLoggerProvider.cs (1)
50
var 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)
29
AssertEx.Equal(expectedFailures, workspace.Diagnostics.Where(d => d.Kind == WorkspaceDiagnosticKind.
Failure
).Select(d => d.Message));