3 writes to _errors
System.Security.Cryptography (3)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (3)
1339
_errors
= null;
1371
_errors
= ArrayPool<ErrorCollection>.Shared.Rent(size);
1379
_errors
= ArrayPool<ErrorCollection>.Shared.Rent(errorDepth + 1);
9 references to _errors
System.Security.Cryptography (9)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (9)
1334
internal ref ErrorCollection this[int idx] => ref
_errors
![idx];
1338
ErrorCollection[]? toReturn =
_errors
;
1367
if (
_errors
== null)
1374
_errors
.AsSpan().Clear();
1376
else if (errorDepth >=
_errors
.Length)
1378
ErrorCollection[] toReturn =
_errors
;
1380
toReturn.AsSpan().CopyTo(
_errors
);
1383
_errors
.AsSpan(toReturn.Length).Clear();
1388
_errors
[errorDepth].Add(errorCode);