13 references to IndexOfAny
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.FixDetails.cs (1)
341var findIndex = message.IndexOfAny(chars, startIndex, endIndex - startIndex);
Microsoft.Build (1)
Evaluation\ExpressionShredder.cs (1)
496int markerIndex = expression.IndexOfAny(s_itemVectorOrMetadataMarkerPrefixes, i, end - i);
Microsoft.Build.Framework (1)
Utilities\FileMatcher.cs (1)
2297if (wildcard.IndexOfAny(FileUtilities.Slashes, 3, wildcardLength - 6) == -1)
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Runtime\LogValuesFormatter.cs (1)
111var findIndex = format.IndexOfAny(chars, startIndex, endIndex - startIndex);
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\CodeBlockEditHandler.cs (1)
84if (target.GetContent().IndexOfAny(['{', '}', '@', '<', '*',], relativePosition, change.Span.Length) >= 0)
Microsoft.Extensions.FileSystemGlobbing (2)
InMemoryDirectoryInfo.cs (1)
108int 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)
949int findIndex = message.IndexOfAny(chars, startIndex, endIndex - startIndex);
Microsoft.Extensions.Primitives (1)
StringSegment.cs (1)
527index = 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\runtime\src\libraries\System.Private.CoreLib\src\System\String.Searching.cs (1)
196return IndexOfAny(anyOf, startIndex, Length - startIndex);