Caution
This is a polyfill that does not have the excellent performance of System.Buffers.SearchValues<T>
when used with framework versions lower than .NET 8.0.
public static int IndexOfAnyExcept(
this Span<char> span,
SearchValuesPolyfill<char> values
)<ExtensionAttribute>
Public Shared Function IndexOfAnyExcept (
span As Span(Of Char),
values As SearchValuesPolyfill(Of Char)
) As Integerpublic:
[ExtensionAttribute]
static int IndexOfAnyExcept(
Span<wchar_t> span,
SearchValuesPolyfill<wchar_t>^ values
)[<ExtensionAttribute>]
static member IndexOfAnyExcept :
span : Span<char> *
values : SearchValuesPolyfill<char> -> int | ArgumentNullException | values is null. |