diff --git a/ICSharpCode.Decompiler/CSharp/Transforms/EscapeInvalidIdentifiers.cs b/ICSharpCode.Decompiler/CSharp/Transforms/EscapeInvalidIdentifiers.cs index 09ea509fd..c56dde2aa 100644 --- a/ICSharpCode.Decompiler/CSharp/Transforms/EscapeInvalidIdentifiers.cs +++ b/ICSharpCode.Decompiler/CSharp/Transforms/EscapeInvalidIdentifiers.cs @@ -136,6 +136,7 @@ namespace ICSharpCode.Decompiler.CSharp.Transforms switch (trr.Type.FullName) { case "System.Security.UnverifiableCodeAttribute": + case "System.Runtime.CompilerServices.RefSafetyRulesAttribute": attribute.Remove(); break; }