mono-api-html: ignore members using regex, add detailed help
[mono.git] / mcs / tools / corcompare / mono-api-html / MemberComparer.cs
index 1c9ceef5e4c781521dc0d49b7a74f34e55fc19b4..1045206de9159690e627884827672fa3bb4bf6b2 100644 (file)
@@ -109,7 +109,7 @@ namespace Xamarin.ApiDiff {
                        bool a = false;
                        foreach (var item in target) {
                                SetContext (item);
-                               if (State.IgnoreAdded.Contains (GetDescription (item)))
+                               if (State.IgnoreAdded.Any (re => re.IsMatch (GetDescription (item))))
                                        continue;
                                if (!a) {
                                        BeforeAdding ();
@@ -177,4 +177,4 @@ namespace Xamarin.ApiDiff {
                        Output.WriteLine ("</pre>");
                }
        }
-}
\ No newline at end of file
+}