diff options
author | Jb Evain <jbevain@gmail.com> | 2011-06-21 11:54:21 +0400 |
---|---|---|
committer | Jb Evain <jbevain@gmail.com> | 2011-06-21 11:54:21 +0400 |
commit | 4b64432f67c3a6650d0401641e548fc2ca32cb4e (patch) | |
tree | 5aab195d4f9576fd00196fce52801c4367f0b09a /Mono.Cecil | |
parent | 24be9a4ba6bc6b046c65e511ddd5e4c748a3d510 (diff) |
Fix to have security attributes with no named arguments pass peverify
Diffstat (limited to 'Mono.Cecil')
-rw-r--r-- | Mono.Cecil/AssemblyWriter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Cecil/AssemblyWriter.cs b/Mono.Cecil/AssemblyWriter.cs index 5a48d99..bf41d5b 100644 --- a/Mono.Cecil/AssemblyWriter.cs +++ b/Mono.Cecil/AssemblyWriter.cs @@ -2450,7 +2450,7 @@ namespace Mono.Cecil { var count = GetNamedArgumentCount (attribute); if (count == 0) { - WriteCompressedUInt32 (0); // length + WriteCompressedUInt32 (1); // length WriteCompressedUInt32 (0); // count return; } |