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:
authorJb Evain <jb@evain.net>2016-01-18 03:28:54 +0300
committerJb Evain <jb@evain.net>2016-01-18 03:29:04 +0300
commitdea1cc6da3533a5edca9a58d25089b9940d1bf4c (patch)
tree33c0723b7e0fd7ddb2c80c77cedce1f57d6f4a7f
parent53df0bc39e48d8544020856e83f8d8a2e11c8a3a (diff)
Fix compilation under READ_ONLY; fixes #240
-rw-r--r--Mono.Cecil/Import.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/Mono.Cecil/Import.cs b/Mono.Cecil/Import.cs
index 362e490..f048f8a 100644
--- a/Mono.Cecil/Import.cs
+++ b/Mono.Cecil/Import.cs
@@ -8,8 +8,6 @@
// Licensed under the MIT/X11 license.
//
-#if !READ_ONLY
-
using System;
using System.Collections.Generic;
using Mono.Collections.Generic;
@@ -724,6 +722,8 @@ namespace Mono.Cecil {
}
}
+#endif
+
static partial class Mixin {
public static void CheckModule (ModuleDefinition module)
@@ -787,8 +787,4 @@ namespace Mono.Cecil {
return true;
}
}
-
-#endif
}
-
-#endif