diff --git a/crypto/src/asn1/DerInteger.cs b/crypto/src/asn1/DerInteger.cs index e510bfe39..e4b353681 100644 --- a/crypto/src/asn1/DerInteger.cs +++ b/crypto/src/asn1/DerInteger.cs @@ -136,14 +136,14 @@ static DerInteger() Five = SmallConstants[5]; } - // TODO[api] Obsolete in favour of ValueOf + [Obsolete("Use ValueOf instead.")] public DerInteger(int value) { m_contents = BigInteger.ValueOf(value).ToByteArray(); m_start = 0; } - // TODO[api] Obsolete in favour of ValueOf + [Obsolete("Use ValueOf instead.")] public DerInteger(long value) { m_contents = BigInteger.ValueOf(value).ToByteArray();