Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs')
-rwxr-xr-xmcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
index 344395be1a3..ebe86410469 100755
--- a/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
+++ b/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
@@ -131,16 +131,8 @@ namespace System.Reflection.Emit {
}
if (n.KeyPair != null) {
- // full keypair is available (for signing)
sn = n.KeyPair.StrongName ();
}
- else {
- // public key is available (for delay-signing)
- byte[] pk = n.GetPublicKey ();
- if ((pk != null) && (pk.Length > 0)) {
- sn = new Mono.Security.StrongName (pk);
- }
- }
basic_init (this);
}