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:
Diffstat (limited to 'Mono.Cecil/AssemblyWriter.cs')
-rw-r--r--Mono.Cecil/AssemblyWriter.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mono.Cecil/AssemblyWriter.cs b/Mono.Cecil/AssemblyWriter.cs
index c3445d2..b9e4aa5 100644
--- a/Mono.Cecil/AssemblyWriter.cs
+++ b/Mono.Cecil/AssemblyWriter.cs
@@ -94,7 +94,7 @@ namespace Mono.Cecil {
if (symbol_writer_provider == null && parameters.WriteSymbols)
symbol_writer_provider = SymbolProvider.GetPlatformWriterProvider ();
var symbol_writer = GetSymbolWriter (module, fq_name, symbol_writer_provider);
-#if !SILVERLIGHT
+#if !SILVERLIGHT && !CF
if (parameters.StrongNameKeyPair != null && module.assembly != null) {
var name = module.assembly.Name;
name.PublicKey = parameters.StrongNameKeyPair.PublicKey;
@@ -113,7 +113,7 @@ namespace Mono.Cecil {
writer.WriteImage ();
-#if !SILVERLIGHT
+#if !SILVERLIGHT && !CF
if (parameters.StrongNameKeyPair != null)
CryptoService.StrongName (stream, writer, parameters.StrongNameKeyPair);
#endif