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