DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.3.0" />

 BitwiseAnd

struct BitwiseAnd : ISupplier<IntPtr, IntPtr, IntPtr>
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace DotNext.Threading { [StructLayout(LayoutKind.Auto)] internal readonly struct BitwiseAnd : ISupplier<IntPtr, IntPtr, IntPtr> { [return: System.Runtime.CompilerServices.NativeInteger] unsafe IntPtr ISupplier<IntPtr, IntPtr, IntPtr>.Invoke([System.Runtime.CompilerServices.NativeInteger] IntPtr x, [System.Runtime.CompilerServices.NativeInteger] IntPtr y) { return (IntPtr)(void*)((long)x & (long)y); } } }