12 references to IndexOfAny
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.FixDetails.cs (1)
341var findIndex = message.IndexOfAny(chars, startIndex, endIndex - startIndex);
Microsoft.Build (1)
FileMatcher.cs (1)
2148if (wildcard.IndexOfAny(FileUtilities.Slashes, 3, wildcardLength - 6) == -1)
Microsoft.Build.Tasks.Core (1)
FileMatcher.cs (1)
2148if (wildcard.IndexOfAny(FileUtilities.Slashes, 3, wildcardLength - 6) == -1)
Microsoft.Build.Utilities.Core (1)
FileMatcher.cs (1)
2148if (wildcard.IndexOfAny(FileUtilities.Slashes, 3, wildcardLength - 6) == -1)
Microsoft.Extensions.FileSystemGlobbing (2)
InMemoryDirectoryInfo.cs (1)
94int endSegment = file.IndexOfAny(DirectorySeparators, beginSegment, endPath - beginSegment);
Internal\Patterns\PatternBuilder.cs (1)
208int index = pattern.IndexOfAny(anyOf, beginIndex, endIndex - beginIndex);
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
850int findIndex = message.IndexOfAny(chars, startIndex, endIndex - startIndex);
Microsoft.Extensions.Primitives (1)
StringSegment.cs (1)
533index = Buffer.IndexOfAny(anyOf, Offset + startIndex, count);
Microsoft.Gen.Logging (1)
Parsing\TemplateProcessor.cs (1)
130var findIndex = message.IndexOfAny(chars, startIndex, endIndex - startIndex);
PresentationCore (1)
MS\Internal\FontCache\FontCacheUtil.cs (1)
431if (s.IndexOfAny(InvalidFileNameChars, 0, length) >= 0)
System.Net.NetworkInformation (1)
System\Net\NetworkInformation\StringParsingHelpers.Addresses.cs (1)
144int commentIndex = fileContents.IndexOfAny(CommentSymbols, labelLineStart, labelIndex - labelLineStart);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (1)
118return IndexOfAny(anyOf, startIndex, Length - startIndex);