2 writes to LastError
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (2)
1337
LastError
= -1;
1398
LastError
= Math.Max(errorDepth, LastError);
8 references to LastError
System.Security.Cryptography (8)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (8)
444
if (workingChain.
LastError
< 0)
456
for (int logDepth = 0; logDepth <= workingChain.
LastError
; logDepth++)
507
if (workingChain.
LastError
>= start)
566
Debug.Assert(workingChain.
LastError
<= start - 1);
567
start = workingChain.
LastError
;
627
for (int logDepth = 0; logDepth <= workingChain.
LastError
; logDepth++)
859
workingChain?.
LastError
>= i ? (ErrorCollection?)workingChain[i] : null;
1398
LastError = Math.Max(errorDepth,
LastError
);