Imported Upstream version 6.12.0.179

Former-commit-id: 0e3e22291208d34e6731637d718f4d12cca50e9e
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2022-05-16 16:00:00 +00:00
parent eac1afd703
commit 1138ddc68f
194 changed files with 7921 additions and 6506 deletions

View File

@@ -176,9 +176,9 @@ namespace Mono.ApiTools {
public override void DiffModification (StringBuilder output, string old, string @new, bool breaking)
{
if (old.Length > 0)
if (old != null && old.Length > 0)
DiffAddition (output, old, breaking);
if (@new.Length > 0)
if (@new != null && @new.Length > 0)
DiffRemoval (output, @new, true);
}