44 references to Matches
aspire (3)
Mcp\Docs\DocsIndexService.cs (2)
633.Matches(source.Content) 640.Matches(source.Content)
Projects\FallbackProjectParser.cs (1)
308var matches = PackageDirectiveRegex().Matches(fileContent);
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
134var matches = TargetFrameworkPropertyRegex().Matches(csprojContent);
Aspire.Templates.Tests (2)
LocalhostTldHostnameTests.cs (1)
85var matches = HostnamePattern().Matches(urls);
tests\Shared\TemplatesTesting\AspireProject.cs (1)
134var matches = TargetFrameworkPropertyRegex().Matches(csprojContent);
cdac-build-tool (1)
ContractDescriptorSourceFileEmitter.cs (1)
85var matches = FindTemplatePlaceholderRegex.Matches(template);
illink (1)
Microsoft.Build (5)
Logging\TerminalLogger\TerminalLogger.cs (4)
304var tlArgMatches = TerminalLoggerArgPattern.Matches(arg); 311var verbosityArgMatches = VerbosityArgPattern.Matches(arg); 318var tlpMatches = TerminalLoggerParametersArgPattern.Matches(arg); 325var clpMatches = ConsoleLoggerParametersArgPattern.Matches(arg);
Utilities\ProjectWriter.cs (1)
135MatchCollection itemVectorTransforms = ItemVectorTransformRawRegex.Matches(text);
Microsoft.CodeAnalysis (2)
CommandLine\AnalyzerConfig.cs (2)
221var sectionMatches = GetSectionMatcherRegex().Matches(line); 235var propMatches = GetPropertyMatcherRegex().Matches(line);
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
342var matches = s_extractPlaceholdersRegex.Matches(formatStringWithEscapedBracketsChangedToSpaces);
Microsoft.CodeAnalysis.Features (1)
src\roslyn\src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
342var matches = s_extractPlaceholdersRegex.Matches(formatStringWithEscapedBracketsChangedToSpaces);
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
AbstractResxGenerator.cs (2)
873var match = _namedParameterMatcher.Matches(value); 878match = _numberParameterMatcher.Matches(value);
Microsoft.CodeAnalysis.Workspaces (1)
Rename\SymbolicRenameLocations.ReferenceProcessing.cs (1)
429var matches = regex.Matches(renameString);
Microsoft.DotNet.Arcade.Sdk (2)
src\GenerateResxSource.cs (2)
498var match = _namedParameterMatcher.Matches(value); 503match = _numberParameterMatcher.Matches(value);
Microsoft.DotNet.Build.Tasks.Installers (2)
src\CreateWixBuildWixpack.cs (2)
232foreach (Match match in regex.Matches(content)) 643foreach (Match match in regex.Matches(content))
Microsoft.DotNet.XliffTasks (1)
StringExtensions.cs (1)
46foreach (Match placeholder in s_placeholderRegex.Matches(text))
Microsoft.Maui.Controls (1)
ShadowTypeConverter.cs (1)
79 var matches = regex.Matches(strValue);
Microsoft.ML.InternalCodeAnalyzer (1)
NameFixProvider.cs (1)
123foreach (Match match in _sections.Matches(name))
Microsoft.ML.TestFramework (2)
BaseTestBaseline.cs (2)
576MatchCollection firstCollection = _matchNumbers.Matches(firstString); 577MatchCollection secondCollection = _matchNumbers.Matches(secondString);
Microsoft.NET.Build.Containers (1)
AuthHandshakeMessageHandler.cs (1)
137foreach (Match match in BearerParameterSplitter().Matches(bearerHeaderArgs))
System.Text.RegularExpressions (14)
System\Text\RegularExpressions\Match.cs (2)
17/// objects is returned by the <see cref="Regex.Matches(string)"/> method. 20/// If the <see cref="Regex.Matches(string)"/> method fails to match a regular expression pattern in
System\Text\RegularExpressions\MatchCollection.cs (2)
13/// constructor. The <see cref="Regex.Matches(string)" /> method returns a 32/// with all matches resulting from a particular call to the <see cref="Regex.Matches(string)" />
System\Text\RegularExpressions\Regex.Match.cs (8)
194/// subsequent manipulation, call the <see cref="Match(string)"/> or <see cref="Matches(string)"/> method. 410/// matches in a single method call by calling <see cref="Matches(string)"/>. 608RegexCache.GetOrAdd(pattern).Matches(input); 653RegexCache.GetOrAdd(pattern, options, s_defaultMatchTimeout).Matches(input); 703RegexCache.GetOrAdd(pattern, options, matchTimeout).Matches(input); 716/// The <see cref="Matches(string)"/> method is similar to the <see cref="Match(string)"/> method, 721/// The <see cref="Matches(string)"/> method uses lazy evaluation to populate the returned 728/// Because of its lazy evaluation, calling the <see cref="Matches(string)"/> method does not throw a
System\Text\RegularExpressions\Regex.Replace.cs (2)
492/// The method is equivalent to calling the <see cref="Regex.Matches(string)"/> method and passing each 537/// The method is equivalent to calling the <see cref="Regex.Matches(string)"/> method and passing the