21 references to LastIndexOf
ILCompiler.Compiler (1)
parent\parent\Common\Compiler\ObjectWriter\ObjectWriter.cs (1)
659int lastDot = name.LastIndexOf('.', firstGeneric - 1, firstGeneric);
ILCompiler.ReadyToRun (1)
parent\parent\Common\Compiler\ObjectWriter\ObjectWriter.cs (1)
659int lastDot = name.LastIndexOf('.', firstGeneric - 1, firstGeneric);
Microsoft.AspNetCore.Http (1)
BindingAddress.cs (1)
208var portDelimiterStart = address.LastIndexOf(':', pathDelimiterStart - 1, pathDelimiterStart - schemeDelimiterEnd);
Microsoft.AspNetCore.Server.HttpSys (1)
UrlPrefix.cs (1)
120var hostDelimiterEnd = whole.LastIndexOf(':', pathDelimiterStart - 1, pathDelimiterStart - hostDelimiterStart);
Microsoft.Build.Tasks.Git (1)
GitDataReader\GitIgnore.Matcher.cs (1)
58var parentDirectory = directory[..(directory.LastIndexOf('/', directory.Length - 2, directory.Length - 1) + 1)];
Microsoft.CodeAnalysis.CSharp (1)
Symbols\TypeSymbolExtensions.cs (1)
1885int separator = namespaceName.LastIndexOf('.', length - 1, length);
Microsoft.CodeAnalysis.CSharp.Features (4)
CodeLens\CSharpCodeLensDisplayInfoService.cs (4)
110var lastDotBeforeOpenParenIndex = displayName.LastIndexOf('.', openParenIndex, openParenIndex); 125var lastDotBeforeOpenBracketIndex = displayName.LastIndexOf('.', openBracketIndex, openBracketIndex); 138var lastDotBeforeSpaceIndex = displayName.LastIndexOf('.', spaceIndex, spaceIndex); 152var lastDotBeforeSpaceIndex = displayName.LastIndexOf('.', firstSpaceIndex, firstSpaceIndex);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbolExtensions.vb (1)
1258Dim separator = namespaceName.LastIndexOf("."c, length - 1, length)
Microsoft.ML.Core (1)
CommandLine\CmdParser.cs (1)
915endIndex = helpStrings.Help.LastIndexOf(' ', endIndex - 1, Math.Min(endIndex - index, charsPerLine));
Microsoft.ML.Maml (1)
HelpCommand.cs (1)
386int spaceIdx = text.LastIndexOf(' ', screenLeft + textIdx, screenLeft);
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\DsesFilterAndTransform.cs (4)
66int newlineIdx = filterAndPayloadSpecs.LastIndexOf('\n', endIdx - 1, endIdx); 167int semiColonIdx = filterAndPayloadSpec.LastIndexOf(';', endIdx - 1, endIdx - startTransformIdx); 352int semiColonIdx = filterAndPayloadSpec.LastIndexOf(';', endIdx - 1, endIdx - startTransformIdx); 617int dotIdx = transformSpec.LastIndexOf('.', endIdx - 1, endIdx - startIdx);
System.Net.NetworkInformation (2)
src\runtime\src\libraries\Common\src\System\IO\RowConfigReader.cs (2)
101int whitespaceBeforeValue = _buffer.LastIndexOf('\t', endOfLine, lineLength); 104whitespaceBeforeValue = _buffer.LastIndexOf(' ', endOfLine, lineLength); // try space as well
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (2)
456return LastIndexOf(value, startIndex, startIndex + 1); 538StringComparison.Ordinal => LastIndexOf(value, startIndex, count),