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)
16
IBitwiseOperators
<TSelf, TSelf, TSelf>,
178 references to IBitwiseOperators
Microsoft.Data.Analysis (1)
Computations\Arithmetic.net8.cs (1)
74
where T : unmanaged,
IBitwiseOperators
<T, T, T>
System.Numerics.Tensors (29)
System\Numerics\Tensors\netcore\Tensor.cs (14)
3057
where T :
IBitwiseOperators
<T, T, T>
3071
where T :
IBitwiseOperators
<T, T, T>
3084
where T :
IBitwiseOperators
<T, T, T>
3098
where T :
IBitwiseOperators
<T, T, T>
3113
where T :
IBitwiseOperators
<T, T, T>
3127
where T :
IBitwiseOperators
<T, T, T>
3140
where T :
IBitwiseOperators
<T, T, T>
3154
where T :
IBitwiseOperators
<T, T, T>
4807
where T :
IBitwiseOperators
<T, T, T>
4818
where T :
IBitwiseOperators
<T, T, T>
5554
where T :
IBitwiseOperators
<T, T, T>
5566
where T :
IBitwiseOperators
<T, T, T>
5579
where T :
IBitwiseOperators
<T, T, T>
5593
where T :
IBitwiseOperators
<T, T, T>
System\Numerics\Tensors\netcore\TensorOperation.cs (4)
733
where T :
IBitwiseOperators
<T, T, T>
759
where T :
IBitwiseOperators
<T, T, T>
1655
where T :
IBitwiseOperators
<T, T, T>
2121
where T :
IBitwiseOperators
<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.BitwiseAnd.cs (3)
24
where T :
IBitwiseOperators
<T, T, T> =>
39
where T :
IBitwiseOperators
<T, T, T> =>
43
private readonly struct BitwiseAndOperator<T> : IBinaryOperator<T> where T :
IBitwiseOperators
<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.BitwiseOr.cs (3)
24
where T :
IBitwiseOperators
<T, T, T> =>
39
where T :
IBitwiseOperators
<T, T, T> =>
43
private readonly struct BitwiseOrOperator<T> : IBinaryOperator<T> where T :
IBitwiseOperators
<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.OnesComplement.cs (2)
21
where T :
IBitwiseOperators
<T, T, T> =>
25
private readonly struct OnesComplementOperator<T> : IUnaryOperator<T, T> where T :
IBitwiseOperators
<T, T, T>
System\Numerics\Tensors\netcore\TensorPrimitives.Xor.cs (3)
24
where T :
IBitwiseOperators
<T, T, T> =>
39
where T :
IBitwiseOperators
<T, T, T> =>
43
private 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)" />
422
static byte
IBitwiseOperators
<byte, byte, byte>.operator &(byte left, byte right) => (byte)(left & right);
424
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
425
static byte
IBitwiseOperators
<byte, byte, byte>.operator |(byte left, byte right) => (byte)(left | right);
427
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
428
static byte
IBitwiseOperators
<byte, byte, byte>.operator ^(byte left, byte right) => (byte)(left ^ right);
430
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
431
static 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)" />
1325
static char
IBitwiseOperators
<char, char, char>.operator &(char left, char right) => (char)(left & right);
1327
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
1328
static char
IBitwiseOperators
<char, char, char>.operator |(char left, char right) => (char)(left | right);
1330
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
1331
static char
IBitwiseOperators
<char, char, char>.operator ^(char left, char right) => (char)(left ^ right);
1333
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
1334
static 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)" />
586
static double
IBitwiseOperators
<double, double, double>.operator &(double left, double right)
592
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
593
static double
IBitwiseOperators
<double, double, double>.operator |(double left, double right)
599
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
600
static double
IBitwiseOperators
<double, double, double>.operator ^(double left, double right)
606
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
607
static double
IBitwiseOperators
<double, double, double>.operator ~(double value)
src\libraries\System.Private.CoreLib\src\System\Enum.cs (18)
974
where TUnderlying : struct, INumber<TUnderlying>,
IBitwiseOperators
<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying>
975
where TStorage : struct, INumber<TStorage>,
IBitwiseOperators
<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage>
1044
where TStorage : struct, INumber<TStorage>,
IBitwiseOperators
<TStorage, TStorage, TStorage>
1452
where TUnderlying : struct, INumber<TUnderlying>,
IBitwiseOperators
<TUnderlying, TUnderlying, TUnderlying>
1453
where TStorage : struct, INumber<TStorage>,
IBitwiseOperators
<TStorage, TStorage, TStorage> =>
1464
where TUnderlying : struct, INumber<TUnderlying>,
IBitwiseOperators
<TUnderlying, TUnderlying, TUnderlying>
1465
where TStorage : struct, INumber<TStorage>,
IBitwiseOperators
<TStorage, TStorage, TStorage>
1481
where TUnderlying : struct, INumber<TUnderlying>,
IBitwiseOperators
<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying>
1482
where TStorage : struct, INumber<TStorage>,
IBitwiseOperators
<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage> =>
1494
where TUnderlying : struct, INumber<TUnderlying>,
IBitwiseOperators
<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying>
1495
where TStorage : struct, INumber<TStorage>,
IBitwiseOperators
<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage>
1857
where TUnderlying : struct, INumber<TUnderlying>,
IBitwiseOperators
<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying>
1858
where TStorage : struct, INumber<TStorage>,
IBitwiseOperators
<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage>
1892
where TUnderlying : struct, INumber<TUnderlying>,
IBitwiseOperators
<TUnderlying, TUnderlying, TUnderlying>, IMinMaxValue<TUnderlying>
1893
where TStorage : struct, INumber<TStorage>,
IBitwiseOperators
<TStorage, TStorage, TStorage>, IMinMaxValue<TStorage>
1929
where TStorage : struct, INumber<TStorage>,
IBitwiseOperators
<TStorage, TStorage, TStorage>
1962
where TStorage : struct, INumber<TStorage>,
IBitwiseOperators
<TStorage, TStorage, TStorage>
2062
where 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)" />
1244
static Half
IBitwiseOperators
<Half, Half, Half>.operator &(Half left, Half right)
1249
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
1250
static Half
IBitwiseOperators
<Half, Half, Half>.operator |(Half left, Half right)
1255
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
1256
static Half
IBitwiseOperators
<Half, Half, Half>.operator ^(Half left, Half right)
1261
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
1262
static 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)" />
516
static short
IBitwiseOperators
<short, short, short>.operator &(short left, short right) => (short)(left & right);
518
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
519
static short
IBitwiseOperators
<short, short, short>.operator |(short left, short right) => (short)(left | right);
521
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
522
static short
IBitwiseOperators
<short, short, short>.operator ^(short left, short right) => (short)(left ^ right);
524
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
525
static 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)" />
557
static int
IBitwiseOperators
<int, int, int>.operator &(int left, int right) => left & right;
559
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
560
static int
IBitwiseOperators
<int, int, int>.operator |(int left, int right) => left | right;
562
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
563
static int
IBitwiseOperators
<int, int, int>.operator ^(int left, int right) => left ^ right;
565
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
566
static 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)" />
554
static long
IBitwiseOperators
<long, long, long>.operator &(long left, long right) => left & right;
556
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
557
static long
IBitwiseOperators
<long, long, long>.operator |(long left, long right) => left | right;
559
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
560
static long
IBitwiseOperators
<long, long, long>.operator ^(long left, long right) => left ^ right;
562
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
563
static 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)" />
559
static nint
IBitwiseOperators
<nint, nint, nint>.operator &(nint left, nint right) => left & right;
561
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
562
static nint
IBitwiseOperators
<nint, nint, nint>.operator |(nint left, nint right) => left | right;
564
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
565
static nint
IBitwiseOperators
<nint, nint, nint>.operator ^(nint left, nint right) => left ^ right;
567
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
568
static nint
IBitwiseOperators
<nint, nint, nint>.operator ~(nint value) => ~value;
src\libraries\System.Private.CoreLib\src\System\Numerics\IBitwiseOperators.cs (1)
11
where 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)" />
899
static NFloat
IBitwiseOperators
<NFloat, NFloat, NFloat>.operator &(NFloat left, NFloat right)
912
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
913
static NFloat
IBitwiseOperators
<NFloat, NFloat, NFloat>.operator |(NFloat left, NFloat right)
926
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
927
static NFloat
IBitwiseOperators
<NFloat, NFloat, NFloat>.operator ^(NFloat left, NFloat right)
940
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
941
static 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)" />
479
static sbyte
IBitwiseOperators
<sbyte, sbyte, sbyte>.operator &(sbyte left, sbyte right) => (sbyte)(left & right);
481
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
482
static sbyte
IBitwiseOperators
<sbyte, sbyte, sbyte>.operator |(sbyte left, sbyte right) => (sbyte)(left | right);
484
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
485
static sbyte
IBitwiseOperators
<sbyte, sbyte, sbyte>.operator ^(sbyte left, sbyte right) => (sbyte)(left ^ right);
487
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
488
static 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)" />
581
static float
IBitwiseOperators
<float, float, float>.operator &(float left, float right)
587
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
588
static float
IBitwiseOperators
<float, float, float>.operator |(float left, float right)
594
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
595
static float
IBitwiseOperators
<float, float, float>.operator ^(float left, float right)
601
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
602
static 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)" />
441
static ushort
IBitwiseOperators
<ushort, ushort, ushort>.operator &(ushort left, ushort right) => (ushort)(left & right);
443
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
444
static ushort
IBitwiseOperators
<ushort, ushort, ushort>.operator |(ushort left, ushort right) => (ushort)(left | right);
446
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
447
static ushort
IBitwiseOperators
<ushort, ushort, ushort>.operator ^(ushort left, ushort right) => (ushort)(left ^ right);
449
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
450
static 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)" />
480
static uint
IBitwiseOperators
<uint, uint, uint>.operator &(uint left, uint right) => left & right;
482
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
483
static uint
IBitwiseOperators
<uint, uint, uint>.operator |(uint left, uint right) => left | right;
485
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
486
static uint
IBitwiseOperators
<uint, uint, uint>.operator ^(uint left, uint right) => left ^ right;
488
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
489
static 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)" />
479
static ulong
IBitwiseOperators
<ulong, ulong, ulong>.operator &(ulong left, ulong right) => left & right;
481
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
482
static ulong
IBitwiseOperators
<ulong, ulong, ulong>.operator |(ulong left, ulong right) => left | right;
484
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
485
static ulong
IBitwiseOperators
<ulong, ulong, ulong>.operator ^(ulong left, ulong right) => left ^ right;
487
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
488
static 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)" />
492
static nuint
IBitwiseOperators
<nuint, nuint, nuint>.operator &(nuint left, nuint right) => left & right;
494
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_BitwiseOr(TSelf, TOther)" />
495
static nuint
IBitwiseOperators
<nuint, nuint, nuint>.operator |(nuint left, nuint right) => left | right;
497
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_ExclusiveOr(TSelf, TOther)" />
498
static nuint
IBitwiseOperators
<nuint, nuint, nuint>.operator ^(nuint left, nuint right) => left ^ right;
500
/// <inheritdoc cref="
IBitwiseOperators
{TSelf, TOther, TResult}.op_OnesComplement(TSelf)" />
501
static 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
<,,>))]