21 references to LastIndexOfAny
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PathHelper.cs (1)
20var lastSeparator = path.LastIndexOfAny(DirectorySeparatorCharacters);
Microsoft.Build.Framework (8)
FileUtilities.cs (1)
1044int lastDirectorySeparator = path.LastIndexOfAny(Slashes);
InterningWriteTranslator.cs (1)
133int splitId = str.LastIndexOfAny(DirectorySeparatorChars);
Utilities\FileMatcher.cs (6)
312return filespec.LastIndexOfAny(s_wildcardCharacters) >= 0; 710int indexOfLastDirectorySeparator = filespec.LastIndexOfAny(directorySeparatorCharacters); 762int indexOfSeparatorBeforeWildCard = filespecLeftOfWildcard.LastIndexOfAny(directorySeparatorCharacters); 3919includeFilespec.Length - includeFilespec.LastIndexOfAny(s_wildcardCharacters) - 1, 3920excludeFilespec.Length - excludeFilespec.LastIndexOfAny(s_wildcardCharacters) - 1); 4032int index = directoryPath.LastIndexOfAny(FileUtilities.Slashes);
Microsoft.Build.Tasks.Core (2)
AssemblyDependency\TaskItemSpecFilenameComparer.cs (2)
58int xFilenameStart = xItemSpec.LastIndexOfAny(FileMatcher.directorySeparatorCharacters); 64int yFilenameStart = yItemSpec.LastIndexOfAny(FileMatcher.directorySeparatorCharacters);
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PathHelper.cs (1)
20var lastSeparator = path.LastIndexOfAny(DirectorySeparatorCharacters);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PathHelper.cs (1)
20var lastSeparator = path.LastIndexOfAny(DirectorySeparatorCharacters);
Microsoft.CodeAnalysis.NetAnalyzers (1)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\PathHelper.cs (1)
18var lastSeparator = path.LastIndexOfAny(DirectorySeparatorCharacters);
Microsoft.CodeAnalysis.Razor.Compiler (1)
Mvc.Version2_X\NamespaceDirective.cs (1)
143var lastSeparator = path.LastIndexOfAny(Separators);
Microsoft.CodeAnalysis.Rebuild (1)
RebuildSourceReferenceResolver.cs (1)
54var index = baseFilePath.LastIndexOfAny(new[] { '/', '\\' });
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PathHelper.cs (1)
20var lastSeparator = path.LastIndexOfAny(DirectorySeparatorCharacters);
Microsoft.TemplateEngine.Edge (1)
Settings\SettingsFilePaths.cs (1)
55int parentDirEndIndex = localPath.LastIndexOfAny(new[] { '/', '\\' });
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\PathHelper.cs (1)
20var lastSeparator = path.LastIndexOfAny(DirectorySeparatorCharacters);
System.Speech (2)
Internal\SrgsParser\XmlParser.cs (1)
51int iPosSlash = _filename.LastIndexOfAny(s_slashBackSlash);
Recognition\RecognizerBase.cs (1)
1414int posSlash = uri.LastIndexOfAny(s_slashes);