[mono-api-html] Allow ignoring addition of property setters.
authorJonathan Pryor <jonpryor@vt.edu>
Thu, 13 Nov 2014 18:18:49 +0000 (13:18 -0500)
committerJonathan Pryor <jonpryor@vt.edu>
Thu, 13 Nov 2014 18:36:45 +0000 (13:36 -0500)
commit6299445e8192a5fa5ec6f062d28365b4bc0a10cd
tree5ffcd3937dacf460c103fab841f87653822222f5
parent09d16b7265dc15d9ebe2d1331e1a41bdaaa68ef5
[mono-api-html] Allow ignoring addition of property setters.

As mentioned in commit 789517f8, I'm trying to compare inter-API level
differences in Mono.Android.dll, and want to reduce as much
"meaningless noise" as possible -- changes which don't meaningfully
break API or ABI.

Among those "meaningless" changes are the addition of property setters
to properties. Adding a setter doesn't break API or ABI.

Add a `mono-api-html --ignore-changes-property-setters` option.

  --ignore-changes-property-setters:
      Ignore the addition of property setters.

      If a source property contains a getter and the target property
      contains both a getter and a setter, do not flag this as a
      change.
mcs/tools/corcompare/mono-api-html/ApiDiff.cs
mcs/tools/corcompare/mono-api-html/MemberComparer.cs