Inheritance: System.Reflection.StrongNameKeyPair
 public void SNKeyPairDerivedTestPosTest()
 {
     var m_sKeyPairDerived = new SNKeyPairDerived(SNKeyPairDerived.s_data);
     ISerializable serKeypair = (ISerializable)m_sKeyPairDerived;
     var m_sKeyPair = m_sKeyPairDerived.SNKeyPairDerivedClone(serKeypair);
     Assert.True(m_sKeyPair != null);
 }
Example #2
0
        public void SNKeyPairDerivedTestPosTest()
        {
            var sKeyPairDerived = new SNKeyPairDerived(s_data);
            var sKeyPair        = sKeyPairDerived.SNKeyPairDerivedClone(sKeyPairDerived);

            RunActionWithDataFileStream(fileStream => sKeyPairDerived = new SNKeyPairDerived(fileStream));
            sKeyPair = sKeyPairDerived.SNKeyPairDerivedClone(sKeyPairDerived);
        }
        public void SNKeyPairDerivedTestPosTest()
        {
            var sKeyPairDerived = new SNKeyPairDerived(s_data);
            var sKeyPair = sKeyPairDerived.SNKeyPairDerivedClone(sKeyPairDerived);

            RunActionWithDataFileStream(fileStream => sKeyPairDerived = new SNKeyPairDerived(fileStream));
            sKeyPair = sKeyPairDerived.SNKeyPairDerivedClone(sKeyPairDerived);
        }
Example #4
0
        public void SNKeyPairDerivedTestPosTest()
        {
            var           m_sKeyPairDerived = new SNKeyPairDerived(SNKeyPairDerived.s_data);
            ISerializable serKeypair        = (ISerializable)m_sKeyPairDerived;
            var           m_sKeyPair        = m_sKeyPairDerived.SNKeyPairDerivedClone(serKeypair);

            Assert.True(m_sKeyPair != null);
        }