18 writes to _span
System.Security.Cryptography (18)
src\libraries\Common\src\System\Security\Cryptography\Asn1Reader\AsnValueReader.cs (18)
18_span = span; 58_span = _span.Slice(value.Length); 65_span = _span.Slice(consumed); 72_span = _span.Slice(consumed); 79_span = _span.Slice(consumed); 86_span = _span.Slice(consumed); 103_span = _span.Slice(consumed); 116_span = _span.Slice(consumed); 123_span = _span.Slice(consumed); 138_span = _span.Slice(consumed); 150_span = _span.Slice(consumed); 157_span = _span.Slice(consumed); 172_span = _span.Slice(bytesConsumed); 188_span = _span.Slice(bytesConsumed); 195_span = _span.Slice(consumed); 202_span = _span.Slice(consumed); 209_span = _span.Slice(consumed); 216_span = _span.Slice(consumed);
42 references to _span
System.Security.Cryptography (42)
src\libraries\Common\src\System\Security\Cryptography\Asn1Reader\AsnValueReader.cs (42)
22internal bool HasData => !_span.IsEmpty; 26if (!_span.IsEmpty) 34return Asn1Tag.Decode(_span, out _); 40_span, 46return _span.Slice(contentOffset, contentLength); 51AsnDecoder.ReadEncodedValue(_span, _ruleSet, out _, out _, out int consumed); 52return _span.Slice(0, consumed); 58_span = _span.Slice(value.Length); 64bool ret = AsnDecoder.ReadBoolean(_span, _ruleSet, out int consumed, expectedTag); 65_span = _span.Slice(consumed); 71BigInteger ret = AsnDecoder.ReadInteger(_span, _ruleSet, out int consumed, expectedTag); 72_span = _span.Slice(consumed); 78bool ret = AsnDecoder.TryReadInt32(_span, _ruleSet, out value, out int consumed, expectedTag); 79_span = _span.Slice(consumed); 85ReadOnlySpan<byte> ret = AsnDecoder.ReadIntegerBytes(_span, _ruleSet, out int consumed, expectedTag); 86_span = _span.Slice(consumed); 96_span, 103_span = _span.Slice(consumed); 110_span, 116_span = _span.Slice(consumed); 122TFlagsEnum ret = AsnDecoder.ReadNamedBitListValue<TFlagsEnum>(_span, _ruleSet, out int consumed, expectedTag); 123_span = _span.Slice(consumed); 132_span, 138_span = _span.Slice(consumed); 145_span, 150_span = _span.Slice(consumed); 156string ret = AsnDecoder.ReadObjectIdentifier(_span, _ruleSet, out int consumed, expectedTag); 157_span = _span.Slice(consumed); 164_span, 171ReadOnlySpan<byte> content = _span.Slice(contentOffset, contentLength); 172_span = _span.Slice(bytesConsumed); 179_span, 187ReadOnlySpan<byte> content = _span.Slice(contentOffset, contentLength); 188_span = _span.Slice(bytesConsumed); 194DateTimeOffset ret = AsnDecoder.ReadUtcTime(_span, _ruleSet, out int consumed, expectedTag: expectedTag); 195_span = _span.Slice(consumed); 201DateTimeOffset ret = AsnDecoder.ReadGeneralizedTime(_span, _ruleSet, out int consumed, expectedTag); 202_span = _span.Slice(consumed); 208string ret = AsnDecoder.ReadCharacterString(_span, _ruleSet, encodingType, out int consumed, expectedTag); 209_span = _span.Slice(consumed); 215TEnum ret = AsnDecoder.ReadEnumeratedValue<TEnum>(_span, _ruleSet, out int consumed, expectedTag); 216_span = _span.Slice(consumed);