46 references to ContainsAnyExcept
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1933
!_tables._countPerLock.AsSpan().
ContainsAnyExcept
(0);
System.Formats.Tar (2)
System\Formats\Tar\TarHeader.Read.cs (1)
549
bool allZeros = !buffer.
ContainsAnyExcept
((byte)0);
System\Formats\Tar\TarHelpers.cs (1)
134
!buffer.
ContainsAnyExcept
((byte)0);
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\Tensor.cs (3)
1445
if (!tensor.Strides.
ContainsAnyExcept
(0))
1518
if (!tensor.Strides.
ContainsAnyExcept
(0))
1595
if (!tensor.Strides.
ContainsAnyExcept
(0))
System.Private.CoreLib (32)
src\libraries\Common\src\System\Number.Parsing.Common.cs (1)
306
return !value.Slice(index).
ContainsAnyExcept
(TChar.CastFrom('\0'));
src\libraries\System.Private.CoreLib\src\System\Byte.cs (2)
312
if ((source.Length > sizeof(byte)) && (source[..^sizeof(byte)].
ContainsAnyExcept
((byte)0x00)))
345
if ((source.Length > sizeof(byte)) && (source[sizeof(byte)..].
ContainsAnyExcept
((byte)0x00)))
src\libraries\System.Private.CoreLib\src\System\Char.cs (2)
1226
if ((source.Length > sizeof(char)) && (source[..^sizeof(char)].
ContainsAnyExcept
((byte)0x00)))
1276
if ((source.Length > sizeof(char)) && (source[sizeof(char)..].
ContainsAnyExcept
((byte)0x00)))
src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (2)
878
if (_array.AsSpan(0, byteCount).
ContainsAnyExcept
((byte)0xFF))
905
if (_array.AsSpan(0, byteCount).
ContainsAnyExcept
((byte)0))
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (1)
1233
if (str.Value.Slice(str.Index + 1).
ContainsAnyExcept
('\0'))
src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
777
if (source[..^Size].
ContainsAnyExcept
((byte)sign))
859
if (source[Size..].
ContainsAnyExcept
((byte)sign))
src\libraries\System.Private.CoreLib\src\System\Int16.cs (2)
325
if (source[..^sizeof(short)].
ContainsAnyExcept
((byte)sign))
400
if (source[sizeof(short)..].
ContainsAnyExcept
((byte)sign))
src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
345
if (source[..^sizeof(int)].
ContainsAnyExcept
((byte)sign))
427
if (source[sizeof(int)..].
ContainsAnyExcept
((byte)sign))
src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
342
if (source[..^sizeof(long)].
ContainsAnyExcept
((byte)sign))
424
if (source[sizeof(long)..].
ContainsAnyExcept
((byte)sign))
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
347
if (source[..^sizeof(nint_t)].
ContainsAnyExcept
((byte)sign))
429
if (source[sizeof(nint_t)..].
ContainsAnyExcept
((byte)sign))
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (2)
406
/// <inheritdoc cref="
ContainsAnyExcept
{T}(ReadOnlySpan{T}, T)"/>
410
ContainsAnyExcept
((ReadOnlySpan<T>)span, value);
src\libraries\System.Private.CoreLib\src\System\SByte.cs (2)
328
if (source[..^sizeof(sbyte)].
ContainsAnyExcept
((byte)sign))
381
if (source[sizeof(sbyte)..].
ContainsAnyExcept
((byte)sign))
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (2)
838
if ((source.Length > Size) && (source[..^Size].
ContainsAnyExcept
((byte)0x00)))
895
if ((source.Length > Size) && (source[Size..].
ContainsAnyExcept
((byte)0x00)))
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (2)
309
if ((source.Length > sizeof(ushort)) && (source[..^sizeof(ushort)].
ContainsAnyExcept
((byte)0x00)))
359
if ((source.Length > sizeof(ushort)) && (source[sizeof(ushort)..].
ContainsAnyExcept
((byte)0x00)))
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (2)
330
if ((source.Length > sizeof(uint)) && (source[..^sizeof(uint)].
ContainsAnyExcept
((byte)0x00)))
387
if ((source.Length > sizeof(uint)) && (source[sizeof(uint)..].
ContainsAnyExcept
((byte)0x00)))
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (2)
329
if ((source.Length > sizeof(ulong)) && (source[..^sizeof(ulong)].
ContainsAnyExcept
((byte)0x00)))
386
if ((source.Length > sizeof(ulong)) && (source[sizeof(ulong)..].
ContainsAnyExcept
((byte)0x00)))
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (2)
333
if ((source.Length > sizeof(nuint_t)) && (source[..^sizeof(nuint_t)].
ContainsAnyExcept
((byte)0x00)))
390
if ((source.Length > sizeof(nuint_t)) && (source[sizeof(nuint_t)..].
ContainsAnyExcept
((byte)0x00)))
System.Runtime.Numerics (8)
src\libraries\Common\src\System\Number.Parsing.Common.cs (1)
306
return !value.Slice(index).
ContainsAnyExcept
(TChar.CastFrom('\0'));
System\Number.BigInteger.cs (1)
258
if (bits.AsSpan().
ContainsAnyExcept
(0u))
System\Numerics\BigInteger.cs (1)
650
return BitOperations.IsPow2(_bits[iu]) && !_bits.AsSpan(0, iu).
ContainsAnyExcept
(0u);
System\Numerics\BigIntegerCalculator.DivRem.cs (3)
459
Debug.Assert(!q.Slice(quotientUpper.Length).
ContainsAnyExcept
(0u));
486
Debug.Assert(!r.Slice(0, sigmaDigit).
ContainsAnyExcept
(0u));
583
Debug.Assert(!r1.Slice(remainder.Length).
ContainsAnyExcept
(0u));
System\Numerics\BigIntegerCalculator.Utils.cs (2)
20
Debug.Assert(left.Length <= right.Length || left.Slice(right.Length).
ContainsAnyExcept
(0u));
21
Debug.Assert(left.Length >= right.Length || right.Slice(left.Length).
ContainsAnyExcept
(0u));