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