14 references to Return
System.Formats.Asn1 (14)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptoPool.cs (2)
20
Return
(arraySegment.Array, clearSize == ClearAll ? arraySegment.Count : clearSize);
64
CryptoPool.
Return
(_rented, clearSize);
System\Formats\Asn1\AsnDecoder.BitString.cs (1)
322
CryptoPool.
Return
(rented, written);
System\Formats\Asn1\AsnDecoder.GeneralizedTime.cs (1)
74
CryptoPool.
Return
(rented, contents.Length);
System\Formats\Asn1\AsnDecoder.NamedBitList.cs (1)
357
CryptoPool.
Return
(rented, written);
System\Formats\Asn1\AsnDecoder.OctetString.cs (1)
177
CryptoPool.
Return
(rented, contents.Length);
System\Formats\Asn1\AsnDecoder.Oid.cs (1)
228
CryptoPool.
Return
(tmpBytes, bytesWritten);
System\Formats\Asn1\AsnDecoder.Text.cs (2)
416
CryptoPool.
Return
(rented, contents.Length);
456
CryptoPool.
Return
(rented, contents.Length);
System\Formats\Asn1\AsnDecoder.UtcTime.cs (1)
100
CryptoPool.
Return
(rented, contents.Length);
System\Formats\Asn1\AsnWriter.cs (1)
778
CryptoPool.
Return
(tmp, len);
System\Formats\Asn1\AsnWriter.NamedBitList.cs (1)
211
CryptoPool.
Return
(rented, requiredBytes);
System\Formats\Asn1\AsnWriter.Oid.cs (1)
143
CryptoPool.
Return
(tmp, tmpOffset);
System\Formats\Asn1\AsnWriter.Text.cs (1)
128
CryptoPool.
Return
(tmp, size);