public static void ReportInvalidInteger(this ICollection<Diagnostic> diagnostics, TextSpan textSpan, string tokenText) { diagnostics.Report(textSpan, DiagnosticId.InvalidInteger, tokenText); }