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