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:
authorJeroen Frijters <jeroen@frijters.net>2015-02-18 15:12:44 +0300
committerJeroen Frijters <jeroen@frijters.net>2015-02-18 15:12:44 +0300
commit8093e6b7fd791b3e1dbe69ece5dbeb2fa0bbd4c6 (patch)
treed8434fa9e8ea2ef046a61c075c2a9d4460e174f6
parent8672a9ef3ab975ead3fd8496cb95f58c5abc2b7d (diff)
Handle missing types from the current assembly.
-rw-r--r--CABlob.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CABlob.cs b/CABlob.cs
index 0e728fd..108592f 100644
--- a/CABlob.cs
+++ b/CABlob.cs
@@ -93,7 +93,7 @@ namespace Ildasm
void AppendTypeName(StringBuilder sb, Type type, string typeName, bool noself = false, bool securityCompatHack = false)
{
- if (type.Assembly == assembly && !noself && (!type.IsGenericType || type.IsGenericTypeDefinition) && !type.HasElementType)
+ if (type.Assembly == assembly && !type.__IsMissing && !noself && (!type.IsGenericType || type.IsGenericTypeDefinition) && !type.HasElementType)
{
AppendTypeName(sb, type);
}