23 references to IndexOfAnyExcept
Microsoft.Private.Windows.Polyfills.Tests (10)
System\SpanExtensionsTests.cs (10)
12span.IndexOfAnyExcept(1).Should().Be(-1); 19span.IndexOfAnyExcept(1).Should().Be(0); 26span.IndexOfAnyExcept(1).Should().Be(3); 33span.IndexOfAnyExcept(1).Should().Be(2); 40span.IndexOfAnyExcept(1).Should().Be(-1); 47span.IndexOfAnyExcept(5).Should().Be(-1); 54span.IndexOfAnyExcept(3).Should().Be(0); 61span.IndexOfAnyExcept(' ').Should().Be(3); 68span.IndexOfAnyExcept(' ').Should().Be(-1); 75span.IndexOfAnyExcept((byte)0).Should().Be(3);
System.Drawing.Common.Tests (2)
System\Drawing\GraphicsTests.cs (2)
2947bytes.IndexOfAnyExcept((byte)0).Should().Be(-1); 2961bytes.IndexOfAnyExcept((byte)0).Should().NotBe(-1);
System.Formats.Tar (1)
src\libraries\Common\src\System\IO\Archiving.Utils.Unix.cs (1)
15int nonSlash = path.IndexOfAnyExcept('/');
System.IO.Compression.ZipFile (1)
src\libraries\Common\src\System\IO\Archiving.Utils.Unix.cs (1)
15int nonSlash = path.IndexOfAnyExcept('/');
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (3)
551IndexOfAnyExcept(span, value) >= 0; 748IndexOfAnyExcept((ReadOnlySpan<T>)span, value); 1196return IndexOfAnyExcept(span, values[0]);
System.Private.Windows.Core (1)
System\SpanReader.cs (1)
218int index = _unread.IndexOfAnyExcept(value);
System.Runtime.Numerics (4)
System\Numerics\BigInteger.cs (3)
2694int leastSignificant = zd.IndexOfAnyExcept(uint.MaxValue); 3309int leadingZeroCount = negative ? bits.IndexOfAnyExcept(0u) : 0; 5127int negLeadingZeroCount = neg ? bits.IndexOfAnyExcept(0u) : 0;
System\Numerics\NumericsHelpers.cs (1)
111int i = d.IndexOfAnyExcept(0u);
System.Text.Json (1)
System\Text\Json\JsonHelpers.cs (1)
509int firstNonZero = span.IndexOfAnyExcept((byte)'0');