diff options
author | jbevain <jbevain@gmail.com> | 2011-10-10 18:34:28 +0400 |
---|---|---|
committer | jbevain <jbevain@gmail.com> | 2011-10-10 18:34:28 +0400 |
commit | 5c88b826aeb02cccda0d779514d5986c8b0c987c (patch) | |
tree | 4c5dde198e87e23c07f971aa3339b8f88bb85600 /Mono.Cecil | |
parent | 2a65765fdf4213c33c7b99975de4c870daf35bd5 (diff) |
Some pinvoke methods have no map
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 bf41d5b..a2d3ffa 100644 --- a/Mono.Cecil/AssemblyWriter.cs +++ b/Mono.Cecil/AssemblyWriter.cs @@ -1458,7 +1458,7 @@ namespace Mono.Cecil { { var pinvoke = method.PInvokeInfo; if (pinvoke == null) - throw new ArgumentException (); + return; var table = GetTable<ImplMapTable> (Table.ImplMap); table.AddRow (new ImplMapRow ( |