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

github.com/mono/ikdasm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Disassembler.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/Disassembler.cs b/Disassembler.cs
index c4c4b0b..646380c 100644
--- a/Disassembler.cs
+++ b/Disassembler.cs
@@ -2024,7 +2024,14 @@ namespace Ildasm
foreach (var mod in mods.Reverse())
{
lw.Write(" {0}(", mod.IsRequired ? "modreq" : "modopt");
- WriteTypeDefOrRef(lw, mod.Type);
+ if (mod.Type.__IsBuiltIn)
+ {
+ WriteSignatureType(lw, mod.Type);
+ }
+ else
+ {
+ WriteTypeDefOrRef(lw, mod.Type);
+ }
lw.Write(")");
}
}