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:
authorjbevain <jbevain@gmail.com>2010-04-16 13:12:35 +0400
committerjbevain <jbevain@gmail.com>2010-04-16 13:12:35 +0400
commitc62aeac69281d27eefba1ea8eef540dabdc97a1e (patch)
treeec192fe8c09abe9dfa80f500bdaea60f406fbb35 /Mono.Cecil/ModuleDefinition.cs
parentd1bff1e2e8119eecb0f942924dd0f6015f411d9a (diff)
compile of the Compact Framework
Diffstat (limited to 'Mono.Cecil/ModuleDefinition.cs')
-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 bb3a92d..cb261ed 100644
--- a/Mono.Cecil/ModuleDefinition.cs
+++ b/Mono.Cecil/ModuleDefinition.cs
@@ -93,7 +93,7 @@ namespace Mono.Cecil {
Stream symbol_stream;
ISymbolWriterProvider symbol_writer_provider;
bool write_symbols;
-#if !SILVERLIGHT
+#if !SILVERLIGHT && !CF
SR.StrongNameKeyPair key_pair;
#endif
public Stream SymbolStream {
@@ -110,7 +110,7 @@ namespace Mono.Cecil {
get { return write_symbols; }
set { write_symbols = value; }
}
-#if !SILVERLIGHT
+#if !SILVERLIGHT && !CF
public SR.StrongNameKeyPair StrongNameKeyPair {
get { return key_pair; }
set { key_pair = value; }
@@ -480,6 +480,7 @@ namespace Mono.Cecil {
throw new ArgumentNullException ("method");
}
+#if !CF
public TypeReference Import (Type type)
{
CheckType (type);
@@ -500,6 +501,7 @@ namespace Mono.Cecil {
return MetadataImporter.ImportMethod (method);
}
+#endif
public TypeReference Import (TypeReference type)
{