BitwiseAnd
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);
}
}
}