Skip to content

Commit

Permalink
redundant GetMappedLineSpan
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Sep 11, 2024
1 parent 7a98790 commit 9383cbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public override void Write(VerifyJsonWriter writer, Diagnostic value)
writer.WriteMember(value, descriptor.Title, "Title");
writer.WriteMember(value, value.Severity, "Severity");
writer.WriteMember(value, value.WarningLevel, "WarningLevel");
writer.WriteMember(value, value.Location.GetMappedLineSpan(), "Location");
writer.WriteMember(value, value.Location, "Location");
var description = descriptor.Description.ToString(CultureInfo.InvariantCulture);
if (!string.IsNullOrWhiteSpace(description))
{
Expand Down

0 comments on commit 9383cbb

Please sign in to comment.