Example #1
0
 /// <summary>
 /// Produces the filtering action for the diagnostic based on the options passed in.
 /// </summary>
 /// <returns>
 /// A new <see cref="DiagnosticInfo"/> with new effective severity based on the options or null if the
 /// diagnostic has been suppressed.
 /// </returns>
 public abstract ReportDiagnostic GetDiagnosticReport(DiagnosticInfo diagnosticInfo, CompilationOptions options);
Example #2
0
 public static Diagnostic Create(DiagnosticInfo info)
 {
     return(new DiagnosticWithInfo(info, Location.None));
 }
Example #3
0
 /// <summary>
 /// Create a simple language specific diagnostic with no location for given info.
 /// </summary>
 public abstract Diagnostic CreateDiagnostic(DiagnosticInfo info);