New test.
[mono.git] / mcs / tools / corcompare / MissingAttribute.cs
index f155a8764bde16a1fcbc41dd4ac2591754dd3ee4..ddd63d604703b56bb979ff113e7c596b66b6f366 100644 (file)
@@ -122,6 +122,9 @@ namespace Mono.Util.CorCompare
                                        //nodeStatus.statusCountsTotal.errorCounts.Add (ErrorTypes.Todo);
                                        //nodeStatus.cTodo ++;  // this is where ALL the 'todo's come from
                                }
+                               else if (attribute.ToString ().EndsWith ("DllImportAttribute") || attribute.ToString ().EndsWith ("PreserveSigAttribute")) {
+                                       // Ignore these
+                               }
                                else
                                {
                                        MissingAttribute ma = new MissingAttribute (attribute, null);
@@ -133,4 +136,4 @@ namespace Mono.Util.CorCompare
                        return nodeStatus;
                }
        }
-}
\ No newline at end of file
+}