3 writes to _errors
System.Security.Cryptography (3)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (3)
1351
_errors
= null;
1383
_errors
= ArrayPool<ErrorCollection>.Shared.Rent(size);
1391
_errors
= ArrayPool<ErrorCollection>.Shared.Rent(errorDepth + 1);
9 references to _errors
System.Security.Cryptography (9)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (9)
1346
internal ref ErrorCollection this[int idx] => ref
_errors
![idx];
1350
ErrorCollection[]? toReturn =
_errors
;
1379
if (
_errors
== null)
1386
_errors
.AsSpan().Clear();
1388
else if (errorDepth >=
_errors
.Length)
1390
ErrorCollection[] toReturn =
_errors
;
1392
toReturn.AsSpan().CopyTo(
_errors
);
1395
_errors
.AsSpan(toReturn.Length).Clear();
1400
_errors
[errorDepth].Add(errorCode);