Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbevain <jbevain@gmail.com>2011-10-10 18:34:28 +0400
committerjbevain <jbevain@gmail.com>2011-10-10 18:34:28 +0400
commit5c88b826aeb02cccda0d779514d5986c8b0c987c (patch)
tree4c5dde198e87e23c07f971aa3339b8f88bb85600 /Mono.Cecil
parent2a65765fdf4213c33c7b99975de4c870daf35bd5 (diff)
Some pinvoke methods have no map
Diffstat (limited to 'Mono.Cecil')
-rw-r--r--Mono.Cecil/AssemblyWriter.cs2
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 (