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