Fix ABIChecker to cover the corner case (#442)
authorJay Cho <chojoong@gmail.com>
Mon, 3 Sep 2018 08:40:38 +0000 (17:40 +0900)
committerTizenAPI-Bot <37820187+TizenAPI-Bot@users.noreply.github.com>
Mon, 3 Sep 2018 08:40:38 +0000 (17:40 +0900)
tools/bin/ABIChecker/ABIChecker.dll
tools/bin/ABIChecker/ABIChecker.pdb
tools/src/ABIChecker/AssemblyChecker.cs

index bd61eee..30c5c2e 100644 (file)
Binary files a/tools/bin/ABIChecker/ABIChecker.dll and b/tools/bin/ABIChecker/ABIChecker.dll differ
index 7ef5a2e..0869389 100644 (file)
Binary files a/tools/bin/ABIChecker/ABIChecker.pdb and b/tools/bin/ABIChecker/ABIChecker.pdb differ
index 973fe5e..63119ec 100644 (file)
@@ -32,6 +32,12 @@ namespace Checker_ABI
                                 continue;
                             }
                         }
+                        if (originalMembers[i].GetCustomAttribute<System.ComponentModel.EditorBrowsableAttribute>()?.State
+                            != targetMembers[j].GetCustomAttribute<System.ComponentModel.EditorBrowsableAttribute>()?.State)
+                        {
+
+                            continue;
+                        }
                         originalMembers.RemoveAt(i);
                         targetMembers.RemoveAt(j);
                         break;