public String toString() {final StringBuilder r = new StringBuilder();r.append(getSeverity().name().toLowerCase(Locale.ROOT));r.append(": at offset "); r.append(getOffset());r.append(": "); r.append(getMessage());r.append("\n"); r.append("  in "); r.append(getLineText());return r.toString();}
public override string ToString(){StringBuilder r = new StringBuilder();r.Append(GetSeverity().ToString().ToLower());r.Append(": at offset ");r.Append(GetOffset());r.Append(": ");r.Append(GetMessage());r.Append("\n");r.Append("  in ");r.Append(GetLineText());return r.ToString();}