9 references to DiagnosticLogItemKind
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (9)
MSBuild\Logging\DiagnosticLog.cs (4)
28
public void Add(string message, string projectFilePath,
DiagnosticLogItemKind
kind =
DiagnosticLogItemKind
.Error)
31
public void Add(Exception exception, string projectFilePath,
DiagnosticLogItemKind
kind =
DiagnosticLogItemKind
.Error)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (2)
28
_log?.Add(new MSBuildDiagnosticLogItem(
DiagnosticLogItemKind
.Error, _projectFilePath, e.Message ?? "", e.File, e.LineNumber, e.ColumnNumber));
34
_log?.Add(new MSBuildDiagnosticLogItem(
DiagnosticLogItemKind
.Warning, _projectFilePath, e.Message ?? "", e.File, e.LineNumber, e.ColumnNumber));
MSBuild\Logging\MSBuildDiagnosticLogItem.cs (1)
8
DiagnosticLogItemKind
kind,
Rpc\Contracts\DiagnosticLogItem.cs (2)
16
internal class DiagnosticLogItem(
DiagnosticLogItemKind
kind, string message, string projectFilePath)
19
public
DiagnosticLogItemKind
Kind { get; } = kind;