[mono/mono] cb19547a: [mono-api-html] Several indexer properties (Item) can have the name (with different parameters)
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000141a945381f-1414d0a6-b67f-42b5-a802-93fa2c71b407-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/24169a083ec5...cb19547a83ed
Commit: cb19547a83ed671da6fc1d883fb14c822bd347e0
Author: Sebastien Pouliot <[email protected]> (spouliot)
Date: 2013-10-11 20:44:59 GMT
URL: https://github.com/mono/mono/commit/cb19547a83ed671da6fc1d883fb14c822bd347e0
[mono-api-html] Several indexer properties (Item) can have the name (with different parameters)
Changed paths:
M mcs/tools/corcompare/mono-api-html/PropertyComparer.cs
Modified: mcs/tools/corcompare/mono-api-html/PropertyComparer.cs
===================================================================
@@ -41,6 +41,14 @@ public class PropertyComparer : MemberComparer {
get { return "property"; }
}
+ public override bool Find (XElement e)
+ {
+ if (!base.Find (e))
+ return false;
+ // the same Item (indexer) property can have different parameters
+ return e.GetAttribute ("params") == Source.GetAttribute ("params");
+ }
+
public override string GetDescription (XElement e)
{
string name = e.Attribute ("name").Value;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches