public static void AssertLexingDiagnostic(this Diagnostic diagnostic, int errorCode, int start, int length)
 {
     diagnostic.AssertDiagnostic(DiagnosticPhase.Lexing, errorCode, start, length);
 }