public static string ToHeaderDisplayString(this ICompatibilityIssue issue)
 {
     return(issue switch
     {
         null => throw new ArgumentNullException(nameof(issue)),
         IMissingMemberCompatibilityIssue _ => "The following members were not present in the newer assembly:",
         MemberAccessibilityReducedIssue _ => "The following members reduced their visibility in the newer assembly:",
         _ => $"Issues of unhandled type '{issue.GetType()}' were detected: ",
     });
 public static string ToDisplayString(this IMissingMemberCompatibilityIssue issue, IReadOnlyList <MemberReference> locations)
 {
     return($"'{issue.MissingMember}' was not present in the newer dependency, and is referenced {locations.Count} times in the dependent assembly.");
 }