5 references to CommonPrefixLength
System.Formats.Asn1 (1)
System\Formats\Asn1\SetOfValueComparer.cs (1)
21
int diffIndex = x.
CommonPrefixLength
(y);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (2)
4864
CommonPrefixLength
((ReadOnlySpan<T>)span, other);
4935
return
CommonPrefixLength
(span, other);
System.Text.Json (1)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (1)
640
indexOfFirstMismatch = span.
CommonPrefixLength
(literal);
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (1)
406
addedLength = vsb.AsSpan(initialLength, addedLength).
CommonPrefixLength
(alternateSb.AsSpan());