12 references to LastIndexOf
Microsoft.AspNetCore.Components (2)
src\Http\Routing\src\Patterns\RoutePatternMatcher.cs (2)
381indexOfLiteral = requestSegment.Slice(0, startIndex).LastIndexOf( 388indexOfLiteral = requestSegment.Slice(0, startIndex).LastIndexOf(
Microsoft.AspNetCore.Routing (2)
Patterns\RoutePatternMatcher.cs (2)
381indexOfLiteral = requestSegment.Slice(0, startIndex).LastIndexOf( 388indexOfLiteral = requestSegment.Slice(0, startIndex).LastIndexOf(
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\ReflectionUtils.cs (1)
59int escapedComma = fullName.LastIndexOf("\\,", StringComparison.Ordinal);
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1864if (zoomString.Length - 1 == zoomString.LastIndexOf(
System.ComponentModel.Annotations (3)
System\ComponentModel\DataAnnotations\PhoneAttribute.cs (3)
69.LastIndexOf(ExtensionAbbreviationExtDot, StringComparison.OrdinalIgnoreCase); 81.LastIndexOf(ExtensionAbbreviationExt, StringComparison.OrdinalIgnoreCase); 93.LastIndexOf(ExtensionAbbreviationX, StringComparison.OrdinalIgnoreCase);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (1)
774int subIndex = this.AsSpan(startIndexFromZero, count).LastIndexOf(valueChars, comparisonType);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Automation\UiaTextRange.cs (1)
307int index = backward ? rangeText.LastIndexOf(text, comparisonType) : rangeText.IndexOf(text, comparisonType);
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\ReflectionUtils.cs (1)
59int escapedComma = fullName.LastIndexOf("\\,", StringComparison.Ordinal);