public DiagnosticResult AddLocation(string source, int marker) { var newLocation = DiagnosticResultLocation.FromMarker(source, marker); Locations = Locations.Append(newLocation).ToArray(); return(this); }