138 references to Matches
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
132var matches = TargetFrameworkPropertyRegex().Matches(csprojContent);
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
132var matches = TargetFrameworkPropertyRegex().Matches(csprojContent);
GenerateDocumentationAndConfigFiles (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
illink (1)
Metrics (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Metrics.Legacy (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis (2)
CommandLine\AnalyzerConfig.cs (2)
221var sectionMatches = GetSectionMatcherRegex().Matches(line); 235var propMatches = GetPropertyMatcherRegex().Matches(line);
Microsoft.CodeAnalysis.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.AnalyzerUtilities (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.BannedApiAnalyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.CodeStyle (9)
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
342var matches = s_extractPlaceholdersRegex.Matches(formatStringWithEscapedBracketsChangedToSpaces);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
342var matches = s_extractPlaceholdersRegex.Matches(formatStringWithEscapedBracketsChangedToSpaces);
Microsoft.CodeAnalysis.Features.Test.Utilities (3)
EditAndContinue\SourceMarkers.cs (3)
54foreach (var match in s_tags.Matches(markedSource).ToEnumerable()) 94var matches = s_trackingStatementPattern.Matches(src); 118var matches = ExceptionRegionPattern.Matches(markedSource);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.PublicApiAnalyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.ResxSourceGenerator (10)
AbstractResxGenerator.cs (2)
860var match = _namedParameterMatcher.Matches(value); 865match = _numberParameterMatcher.Matches(value);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.CodeAnalysis.Test.Utilities (1)
MarkedSource\SourceWithMarkedNodes.cs (1)
54foreach (var match in s_markerPattern.Matches(markedSource).ToEnumerable())
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenVBCore.vb (1)
3208Dim matches = s_normalizeRegex.Matches(expected)
Microsoft.CodeAnalysis.Workspaces (9)
Rename\SymbolicRenameLocations.ReferenceProcessing.cs (1)
418var matches = regex.Matches(renameString);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Microsoft.DotNet.Arcade.Sdk (2)
src\GenerateResxSource.cs (2)
498var match = _namedParameterMatcher.Matches(value); 503match = _numberParameterMatcher.Matches(value);
Microsoft.DotNet.Build.Tasks.Feed (1)
src\common\AzureConnectionStringBuildTask.cs (1)
41MatchCollection matches = storageConnectionStringRegex.Matches(ConnectionString);
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);
Roslyn.Diagnostics.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\Regex.Match.cs (3)
179RegexCache.GetOrAdd(pattern).Matches(input); 185RegexCache.GetOrAdd(pattern, options, s_defaultMatchTimeout).Matches(input); 188RegexCache.GetOrAdd(pattern, options, matchTimeout).Matches(input);
Test.Utilities (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);
Text.Analyzers (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (2)
69var sectionMatches = s_sectionMatcher.Matches(line); 85var propMatches = s_propertyMatcher.Matches(line);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (6)
134var matchCollection = pattern.Matches(text); 141var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 178var matchCollection = pattern.Matches(text); 185var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText); 221var matchCollection = pattern.Matches(text); 228var fileExtensionMatches = s_fileExtensionMatcher.Matches(innerText);