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>2015-04-25 19:05:54 +0300
committerJb Evain <jb@evain.net>2015-04-25 19:05:54 +0300
commita3daf5904abb4d33718cea40f9580597fe4b4dd5 (patch)
treee03439fe9d5bfcfeb5988874415e4d8407d647bd
parentdb0cea19223c12690200608429bf20265b5bc74a (diff)
Fix CF build
-rw-r--r--Mono.Cecil/ModuleDefinition.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mono.Cecil/ModuleDefinition.cs b/Mono.Cecil/ModuleDefinition.cs
index cadba1c..10c3f9f 100644
--- a/Mono.Cecil/ModuleDefinition.cs
+++ b/Mono.Cecil/ModuleDefinition.cs
@@ -320,6 +320,8 @@ namespace Mono.Cecil {
get { return assembly; }
}
+#if !READ_ONLY
+#if !CF
internal IReflectionImporter ReflectionImporter {
get {
if (reflection_importer == null)
@@ -327,9 +329,8 @@ namespace Mono.Cecil {
return reflection_importer;
}
-
}
-
+#endif
internal IMetadataImporter MetadataImporter {
get {
if (metadata_importer == null)
@@ -338,6 +339,7 @@ namespace Mono.Cecil {
return metadata_importer;
}
}
+#endif
public IAssemblyResolver AssemblyResolver {
get {