NBitcoin.Crypto.ECKey.AssertPrivateKey C# (CSharp) Method

AssertPrivateKey() private method

private AssertPrivateKey ( ) : void
return void
        private void AssertPrivateKey()
        {
            if (PrivateKey == null)
                throw new InvalidOperationException("This key should be a private key for such operation");
        }