3 writes to _errors
System.Security.Cryptography (3)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (3)
1350
_errors
= null;
1382
_errors
= ArrayPool<ErrorCollection>.Shared.Rent(size);
1390
_errors
= ArrayPool<ErrorCollection>.Shared.Rent(errorDepth + 1);
9 references to _errors
System.Security.Cryptography (9)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (9)
1345
internal ref ErrorCollection this[int idx] => ref
_errors
![idx];
1349
ErrorCollection[]? toReturn =
_errors
;
1378
if (
_errors
== null)
1385
_errors
.AsSpan().Clear();
1387
else if (errorDepth >=
_errors
.Length)
1389
ErrorCollection[] toReturn =
_errors
;
1391
toReturn.AsSpan().CopyTo(
_errors
);
1394
_errors
.AsSpan(toReturn.Length).Clear();
1399
_errors
[errorDepth].Add(errorCode);