зеркало из https://github.com/mono/ikvm-fork.git
Regression fix. Array passed in constructor should be copied.
This commit is contained in:
Родитель
0ef34009b2
Коммит
559e73582e
|
@ -47,7 +47,7 @@ namespace IKVM.Reflection
|
||||||
{
|
{
|
||||||
throw new ArgumentNullException("keyPairArray");
|
throw new ArgumentNullException("keyPairArray");
|
||||||
}
|
}
|
||||||
this.keyPairArray = keyPairArray;
|
this.keyPairArray = (byte[])keyPairArray.Clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
public StrongNameKeyPair(FileStream keyPairFile)
|
public StrongNameKeyPair(FileStream keyPairFile)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче