X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftools%2Fcorcompare%2Fmono-api-html%2FApiDiff.cs;h=8fe2784485220399c0646210de60a119268d78bc;hb=a8c6b0d380ba283a3aad3aa61d27beee5ab7df29;hp=69454e1184c84e8296a1145188c0998846838587;hpb=4279991d274796eb3ae6c5507c6194bd3cd69187;p=mono.git diff --git a/mcs/tools/corcompare/mono-api-html/ApiDiff.cs b/mcs/tools/corcompare/mono-api-html/ApiDiff.cs index 69454e1184c..8fe27844852 100644 --- a/mcs/tools/corcompare/mono-api-html/ApiDiff.cs +++ b/mcs/tools/corcompare/mono-api-html/ApiDiff.cs @@ -168,12 +168,98 @@ namespace Xamarin.ApiDiff { } if (diffHtml.Length > 0) { using (var file = new StreamWriter (diff)) { + file.WriteLine ("
"); + if (State.Colorize) { + file.WriteLine (""); + } + file.WriteLine ( +@""); if (ac.SourceAssembly == ac.TargetAssembly) { file.WriteLine ("

{0}.dll

", ac.SourceAssembly); } else { file.WriteLine ("

{0}.dll vs {1}.dll

", ac.SourceAssembly, ac.TargetAssembly); } + file.WriteLine ("Hide non-breaking changes"); + file.WriteLine (""); + file.WriteLine ("
"); + file.WriteLine ("
"); file.Write (diffHtml); + file.WriteLine ("
"); + file.WriteLine ("
"); } } } else {