diff --git a/reflect/StrongNameKeyPair.cs b/reflect/StrongNameKeyPair.cs index 36868059..a6d45f71 100644 --- a/reflect/StrongNameKeyPair.cs +++ b/reflect/StrongNameKeyPair.cs @@ -47,7 +47,7 @@ namespace IKVM.Reflection { throw new ArgumentNullException("keyPairArray"); } - this.keyPairArray = keyPairArray; + this.keyPairArray = (byte[])keyPairArray.Clone(); } public StrongNameKeyPair(FileStream keyPairFile)