diff options
Diffstat (limited to 'Mono.Cecil/ModuleDefinition.cs')
-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 { |