Permalink
Browse files

Filter out more attributes

  • Loading branch information...
1 parent ef6e699 commit a041039f670b12a714994922b4a54335e548b174 @marek-safar marek-safar committed Jul 27, 2012
Showing with 5 additions and 0 deletions.
  1. +1 −0 gui-compare/CecilMetadata.cs
  2. +4 −0 gui-compare/CompareContext.cs
View
1 gui-compare/CecilMetadata.cs
@@ -923,6 +923,7 @@ public override bool ThrowsNotImplementedException ()
MethodAttributes.Static |
MethodAttributes.Abstract |
MethodAttributes.HideBySig |
+// MethodAttributes.HasSecurity |
MethodAttributes.SpecialName);
public override string GetMemberAccess ()
{
View
4 gui-compare/CompareContext.cs
@@ -404,6 +404,10 @@ void CompareAttributeArguments (ComparisonNode parent, CompAttribute referenceAt
case "System.Reflection.AssemblyTrademarkAttribute":
case "System.Reflection.AssemblyInformationalVersionAttribute":
case "System.Reflection.AssemblyKeyFileAttribute":
+
+ // Don't care about these for now
+ case "System.ComponentModel.EditorAttribute":
+ case "System.ComponentModel.DesignerAttribute":
return;
}

0 comments on commit a041039

Please sign in to comment.