3 references to SafeLocalAllocHandle
NuGet.Packaging (3)
Signing\Cms\HeapBlockRetainer.cs (1)
24var hBlock = new SafeLocalAllocHandle(Marshal.AllocHGlobal(cbSize));
Signing\Cms\NativeUtility.cs (2)
50using (var signerInfoHandle = new SafeLocalAllocHandle(Marshal.AllocHGlobal(Marshal.SizeOf(signerInfo)))) 57using (var certificatesHandle = new SafeLocalAllocHandle(Marshal.AllocHGlobal(Marshal.SizeOf(certificateBlobs[0]) * certificateBlobs.Length)))