diff options
author | Jb Evain <jb@evain.net> | 2015-04-25 19:05:54 +0300 |
---|---|---|
committer | Jb Evain <jb@evain.net> | 2015-04-25 19:05:54 +0300 |
commit | a3daf5904abb4d33718cea40f9580597fe4b4dd5 (patch) | |
tree | e03439fe9d5bfcfeb5988874415e4d8407d647bd | |
parent | db0cea19223c12690200608429bf20265b5bc74a (diff) |
Fix CF build
-rw-r--r-- | Mono.Cecil/ModuleDefinition.cs | 6 |
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 { |