public void ReportDiagnostic(MSBuildDiagnostic diagnostic) => Diagnostics.Add(diagnostic);
public void ReportDiagnostic(MSBuildDiagnostic diagnostic) => session.ReportDiagnostic(diagnostic);
public void RegisterCodeFix(MSBuildAction action, MSBuildDiagnostic diagnostic) { reportFix(action, ImmutableArray.Create(diagnostic)); }