public static Diagnostic MakeDiagnostic(this BuilderError error, Location location, IEnumerable <Location> additionalLocations = null) { return(Diagnostic.Create(error.AsDiagnostic(), location, additionalLocations)); }