2 interfaces inheriting from IBitwiseOperators
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Numerics\IBinaryNumber.cs (1)
9: IBitwiseOperators<TSelf, TSelf, TSelf>,
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (1)
16IBitwiseOperators<TSelf, TSelf, TSelf>,
178 references to IBitwiseOperators
Microsoft.Data.Analysis (1)
Computations\Arithmetic.net8.cs (1)
74where T : unmanaged, IBitwiseOperators<T, T, T>
System.Numerics.Tensors (29)
System\Numerics\Tensors\netcore\Tensor.cs (14)
3057where T : IBitwiseOperators<T, T, T> 3071where T : IBitwiseOperators<T, T, T> 3084where T : IBitwiseOperators<T, T, T> 3098where T : IBitwiseOperators<T, T, T> 3113where T : IBitwiseOperators<T, T, T> 3127where T : IBitwiseOperators<T, T, T> 3140where T : IBitwiseOperators<T, T, T> 3154where T : IBitwiseOperators<T, T, T> 4807where T : IBitwiseOperators<T, T, T> 4818where T : IBitwiseOperators<T, T, T> 5554where T : IBitwiseOperators<T, T, T> 5566where T : IBitwiseOperators<T, T, T> 5579where T : IBitwiseOperators<T, T, T> 5593where T : IBitwiseOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorOperation.cs (4)
733where T : IBitwiseOperators<T, T, T> 759where T : IBitwiseOperators<T, T, T> 1655where T : IBitwiseOperators<T, T, T> 2121where T : IBitwiseOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.BitwiseAnd.cs (3)
24where T : IBitwiseOperators<T, T, T> => 39where T : IBitwiseOperators<T, T, T> => 43private readonly struct BitwiseAndOperator<T> : IBinaryOperator<T> where T : IBitwiseOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.BitwiseOr.cs (3)
24where T : IBitwiseOperators<T, T, T> => 39where T : IBitwiseOperators<T, T, T> => 43private readonly struct BitwiseOrOperator<T> : IBinaryOperator<T> where T : IBitwiseOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.OnesComplement.cs (2)
21where T : IBitwiseOperators<T, T, T> => 25private readonly struct OnesComplementOperator<T> : IUnaryOperator<T, T> where T : IBitwiseOperators<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Xor.cs (3)
24where T : IBitwiseOperators<T, T, T> => 39where T : IBitwiseOperators<T, T, T> => 43private readonly struct XorOperator<T> : IBinaryOperator<T> where T : IBitwiseOperators<T, T, T>
System.Private.CoreLib (147)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (8)
421/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 422static byte IBitwiseOperators<byte, byte, byte>.operator &(byte left, byte right) => (byte)(left & right); 424/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 425static byte IBitwiseOperators<byte, byte, byte>.operator |(byte left, byte right) => (byte)(left | right); 427/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 428static byte IBitwiseOperators<byte, byte, byte>.operator ^(byte left, byte right) => (byte)(left ^ right); 430/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 431static byte IBitwiseOperators<byte, byte, byte>.operator ~(byte value) => (byte)(~value);
src\libraries\System.Private.CoreLib\src\System\Char.cs (8)
1324/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 1325static char IBitwiseOperators<char, char, char>.operator &(char left, char right) => (char)(left & right); 1327/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 1328static char IBitwiseOperators<char, char, char>.operator |(char left, char right) => (char)(left | right); 1330/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 1331static char IBitwiseOperators<char, char, char>.operator ^(char left, char right) => (char)(left ^ right); 1333/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 1334static char IBitwiseOperators<char, char, char>.operator ~(char value) => (char)(~value);
src\libraries\System.Private.CoreLib\src\System\Double.cs (8)
585/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 586static double IBitwiseOperators<double, double, double>.operator &(double left, double right) 592/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 593static double IBitwiseOperators<double, double, double>.operator |(double left, double right) 599/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 600static double IBitwiseOperators<double, double, double>.operator ^(double left, double right) 606/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 607static double IBitwiseOperators<double, double, double>.operator ~(double value)
src\libraries\System.Private.CoreLib\src\System\Enum.cs (18)
974where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying> 975where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage> 1044where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage> 1452where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying> 1453where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage> => 1464where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying> 1465where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage> 1481where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying> 1482where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage> => 1494where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying> 1495where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage> 1857where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying> 1858where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage> 1892where TUnderlying : struct, INumber<TUnderlying>, IBitwiseOperators<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying> 1893where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage> 1929where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage> 1962where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage> 2062where TStorage : struct, INumber<TStorage>, IBitwiseOperators<TStorage, TStorage, TStorage>
src\libraries\System.Private.CoreLib\src\System\Half.cs (8)
1243/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 1244static Half IBitwiseOperators<Half, Half, Half>.operator &(Half left, Half right) 1249/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 1250static Half IBitwiseOperators<Half, Half, Half>.operator |(Half left, Half right) 1255/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 1256static Half IBitwiseOperators<Half, Half, Half>.operator ^(Half left, Half right) 1261/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 1262static Half IBitwiseOperators<Half, Half, Half>.operator ~(Half value)
src\libraries\System.Private.CoreLib\src\System\Int128.cs (4)
995/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 998/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 1001/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 1004/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (8)
515/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 516static short IBitwiseOperators<short, short, short>.operator &(short left, short right) => (short)(left & right); 518/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 519static short IBitwiseOperators<short, short, short>.operator |(short left, short right) => (short)(left | right); 521/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 522static short IBitwiseOperators<short, short, short>.operator ^(short left, short right) => (short)(left ^ right); 524/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 525static short IBitwiseOperators<short, short, short>.operator ~(short value) => (short)(~value);
src\libraries\System.Private.CoreLib\src\System\Int32.cs (8)
556/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 557static int IBitwiseOperators<int, int, int>.operator &(int left, int right) => left & right; 559/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 560static int IBitwiseOperators<int, int, int>.operator |(int left, int right) => left | right; 562/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 563static int IBitwiseOperators<int, int, int>.operator ^(int left, int right) => left ^ right; 565/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 566static int IBitwiseOperators<int, int, int>.operator ~(int value) => ~value;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (8)
553/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 554static long IBitwiseOperators<long, long, long>.operator &(long left, long right) => left & right; 556/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 557static long IBitwiseOperators<long, long, long>.operator |(long left, long right) => left | right; 559/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 560static long IBitwiseOperators<long, long, long>.operator ^(long left, long right) => left ^ right; 562/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 563static long IBitwiseOperators<long, long, long>.operator ~(long value) => ~value;
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (8)
558/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 559static nint IBitwiseOperators<nint, nint, nint>.operator &(nint left, nint right) => left & right; 561/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 562static nint IBitwiseOperators<nint, nint, nint>.operator |(nint left, nint right) => left | right; 564/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 565static nint IBitwiseOperators<nint, nint, nint>.operator ^(nint left, nint right) => left ^ right; 567/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 568static nint IBitwiseOperators<nint, nint, nint>.operator ~(nint value) => ~value;
src\libraries\System.Private.CoreLib\src\System\Numerics\IBitwiseOperators.cs (1)
11where TSelf : IBitwiseOperators<TSelf, TOther, TResult>?
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (8)
898/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 899static NFloat IBitwiseOperators<NFloat, NFloat, NFloat>.operator &(NFloat left, NFloat right) 912/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 913static NFloat IBitwiseOperators<NFloat, NFloat, NFloat>.operator |(NFloat left, NFloat right) 926/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 927static NFloat IBitwiseOperators<NFloat, NFloat, NFloat>.operator ^(NFloat left, NFloat right) 940/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 941static NFloat IBitwiseOperators<NFloat, NFloat, NFloat>.operator ~(NFloat value)
src\libraries\System.Private.CoreLib\src\System\SByte.cs (8)
478/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 479static sbyte IBitwiseOperators<sbyte, sbyte, sbyte>.operator &(sbyte left, sbyte right) => (sbyte)(left & right); 481/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 482static sbyte IBitwiseOperators<sbyte, sbyte, sbyte>.operator |(sbyte left, sbyte right) => (sbyte)(left | right); 484/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 485static sbyte IBitwiseOperators<sbyte, sbyte, sbyte>.operator ^(sbyte left, sbyte right) => (sbyte)(left ^ right); 487/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 488static sbyte IBitwiseOperators<sbyte, sbyte, sbyte>.operator ~(sbyte value) => (sbyte)(~value);
src\libraries\System.Private.CoreLib\src\System\Single.cs (8)
580/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 581static float IBitwiseOperators<float, float, float>.operator &(float left, float right) 587/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 588static float IBitwiseOperators<float, float, float>.operator |(float left, float right) 594/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 595static float IBitwiseOperators<float, float, float>.operator ^(float left, float right) 601/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 602static float IBitwiseOperators<float, float, float>.operator ~(float value)
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (4)
996/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 999/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 1002/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 1005/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (8)
440/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 441static ushort IBitwiseOperators<ushort, ushort, ushort>.operator &(ushort left, ushort right) => (ushort)(left & right); 443/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 444static ushort IBitwiseOperators<ushort, ushort, ushort>.operator |(ushort left, ushort right) => (ushort)(left | right); 446/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 447static ushort IBitwiseOperators<ushort, ushort, ushort>.operator ^(ushort left, ushort right) => (ushort)(left ^ right); 449/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 450static ushort IBitwiseOperators<ushort, ushort, ushort>.operator ~(ushort value) => (ushort)(~value);
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (8)
479/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 480static uint IBitwiseOperators<uint, uint, uint>.operator &(uint left, uint right) => left & right; 482/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 483static uint IBitwiseOperators<uint, uint, uint>.operator |(uint left, uint right) => left | right; 485/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 486static uint IBitwiseOperators<uint, uint, uint>.operator ^(uint left, uint right) => left ^ right; 488/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 489static uint IBitwiseOperators<uint, uint, uint>.operator ~(uint value) => ~value;
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (8)
478/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 479static ulong IBitwiseOperators<ulong, ulong, ulong>.operator &(ulong left, ulong right) => left & right; 481/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 482static ulong IBitwiseOperators<ulong, ulong, ulong>.operator |(ulong left, ulong right) => left | right; 484/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 485static ulong IBitwiseOperators<ulong, ulong, ulong>.operator ^(ulong left, ulong right) => left ^ right; 487/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 488static ulong IBitwiseOperators<ulong, ulong, ulong>.operator ~(ulong value) => ~value;
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (8)
491/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseAnd(TSelf, TOther)" /> 492static nuint IBitwiseOperators<nuint, nuint, nuint>.operator &(nuint left, nuint right) => left & right; 494/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" /> 495static nuint IBitwiseOperators<nuint, nuint, nuint>.operator |(nuint left, nuint right) => left | right; 497/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" /> 498static nuint IBitwiseOperators<nuint, nuint, nuint>.operator ^(nuint left, nuint right) => left ^ right; 500/// <inheritdoc cref="IBitwiseOperators{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" /> 501static nuint IBitwiseOperators<nuint, nuint, nuint>.operator ~(nuint value) => ~value;
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
376[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.IBitwiseOperators<,,>))]