Browse Source

Fix #1488: Ignore errors while decoding security declarations.

pull/1515/head
Siegfried Pammer 7 years ago
parent
commit
daf90bfe97
  1. 2
      ICSharpCode.Decompiler/TypeSystem/Implementation/AttributeListBuilder.cs

2
ICSharpCode.Decompiler/TypeSystem/Implementation/AttributeListBuilder.cs

@ -230,6 +230,8 @@ namespace ICSharpCode.Decompiler.TypeSystem.Implementation @@ -230,6 +230,8 @@ namespace ICSharpCode.Decompiler.TypeSystem.Implementation
AddSecurityAttributes(metadata.GetDeclarativeSecurityAttribute(secDecl));
} catch (EnumUnderlyingTypeResolveException) {
// ignore resolve errors
} catch (BadImageFormatException) {
// ignore invalid security declarations
}
}
}

Loading…
Cancel
Save