Imported Upstream version 5.14.0.121

Former-commit-id: 86f238de2954f615a08dc4afc175bee032151a5a
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-06-02 08:53:49 +00:00
parent f4dfa680ce
commit 54c0c51795
48 changed files with 710 additions and 260 deletions

View File

@ -186,28 +186,5 @@ namespace Xamarin.ApiDiff {
return sb.ToString ();
}
public override void BeforeAdding (IEnumerable<XElement> list)
{
first = true;
if (State.BaseType == "System.Enum") {
Output.WriteLine ("<div>");
Output.WriteLine ("<p>Added value{0}:</p>", list.Count () > 1 ? "s" : String.Empty);
Output.WriteLine ("<pre class='added' data-is-non-breaking>");
} else {
base.BeforeAdding (list);
}
}
public override void BeforeRemoving (IEnumerable<XElement> list)
{
first = true;
if (State.BaseType == "System.Enum") {
Output.WriteLine ("<p>Removed value{0}:</p>", list.Count () > 1 ? "s" : String.Empty);
Output.WriteLine ("<pre class='removed' data-is-breaking>");
} else {
base.BeforeRemoving (list);
}
}
}
}