18 references to Success
System.Core (18)
Microsoft\Win32\SafeHandles\BCryptSafeHandles.cs (3)
31
return BCryptCloseAlgorithmProvider(handle, 0) == BCryptNative.ErrorCode.
Success
;
66
bool success = BCryptDestroyHash(handle) == BCryptNative.ErrorCode.
Success
;
91
return BCryptDestroyKey(handle) == BCryptNative.ErrorCode.
Success
;
System\Security\Cryptography\BCryptHashAlgorithm.cs (3)
146
if (error != BCryptNative.ErrorCode.
Success
) {
204
if (error != BCryptNative.ErrorCode.
Success
) {
225
if (error != BCryptNative.ErrorCode.
Success
) {
System\Security\Cryptography\BCryptNative.cs (9)
513
if (error != ErrorCode.BufferToSmall && error != ErrorCode.
Success
) {
522
if (error != ErrorCode.
Success
) {
591
if (error != ErrorCode.
Success
) {
620
if (error != ErrorCode.BufferToSmall && error != ErrorCode.
Success
)
627
if (error != ErrorCode.
Success
) {
663
if (error != ErrorCode.
Success
)
711
if (error != ErrorCode.
Success
)
761
if (error != ErrorCode.
Success
)
783
if (error != ErrorCode.
Success
)
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (3)
317
if (errorCode != BCryptNative.ErrorCode.
Success
)
322
if (errorCode != BCryptNative.ErrorCode.
Success
)
338
return errorCode == BCryptNative.ErrorCode.
Success
&& numBytesNeeded > 0;