SafeBCryptHandle
From
https://github.com/dotnet/runtime/blob/main/src/libraries/Common/src/Microsoft/Win32/SafeHandles/SafeBCryptHandle.cs
SHOULD NOT BE CHANGED WITHOUT COORDINATING WITH BCL TEAM
using System;
using System.Runtime.InteropServices;
namespace Azure.Storage.Shared.AesGcm
{
internal abstract class SafeBCryptHandle : SafeHandle, IDisposable
{
public sealed override bool => handle == IntPtr.Zero;
protected SafeBCryptHandle()
: base(IntPtr.Zero, true)
{
}
protected abstract override bool ();
}
}