10 references to LastIndexOf
Microsoft.AspNetCore.Mvc.Razor (1)
RazorFileHierarchy.cs (1)
29while (maxIterations-- > 0 && index > 1 && (index = path.LastIndexOf('/', index - 1)) != -1)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageViewLocationExpander.cs (1)
58while (end > 0 && (end = context.PageName.LastIndexOf('/', end - 1)) != -1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
BraceHighlighting\MultiCharacterBraceHighlightingTests.cs (2)
73var lessThan = text.LastIndexOf('<', position); 82var lessThan = text.LastIndexOf('<', position);
Microsoft.CodeAnalysis.Features (2)
Completion\Providers\Scripting\AbstractDirectivePathCompletionProvider.cs (2)
148if ((index = text.LastIndexOf('/', position)) >= 0 || 149!PathUtilities.IsUnixLikePlatform && (index = text.LastIndexOf('\\', position)) >= 0)
System.Net.NetworkInformation (2)
System\Net\NetworkInformation\StringParsingHelpers.Addresses.cs (2)
100int beforeName = fileContents.LastIndexOf(' ', afterName); 109int beforeAddress = fileContents.LastIndexOf(' ', afterAddress);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.cs (1)
634int iTemp = ascii.LastIndexOf(c_delimiter, iNextDot - 1);
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (1)
21i = typeName.LastIndexOf('+', i);