171 references to Match
Aspire.Dashboard (2)
ConsoleLogs\UrlParser.cs (1)
20var urlMatch = s_urlRegEx.Match(text);
src\Shared\ConsoleLogs\TimestampParser.cs (1)
15var match = GenerateRfc3339RegEx().Match(text);
Aspire.Dashboard.Tests (2)
ConsoleLogsTests\UrlParserTests.cs (2)
92var match = regex.Match(content); 105var match = regex.Match(content);
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
194var m = s_dashboardUrlRegex.Match(line);
Aspire.Hosting (1)
src\Shared\ConsoleLogs\TimestampParser.cs (1)
15var match = GenerateRfc3339RegEx().Match(text);
Aspire.Microsoft.Data.SqlClient (2)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (2)
175Match match = DataSourceRegex.Match(dataSource); 198var namedInstancePipeMatch = NamedPipeRegex.Match(pipeName);
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (2)
175Match match = DataSourceRegex.Match(dataSource); 198var namedInstancePipeMatch = NamedPipeRegex.Match(pipeName);
Aspire.Workload.Tests (2)
BuildAndRunTemplateTests.cs (1)
83var match = AppHostVersionRegex().Match(projectContents);
tests\Shared\WorkloadTesting\AspireProject.cs (1)
194var m = s_dashboardUrlRegex.Match(line);
BuildBoss (1)
CompilerNuGetCheckerUtil.cs (1)
106var match = regex.Match(packageFileName);
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
806var match = OpenSslVersionRegex().Match(stdout);
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (2)
563Match m = s_outputRegWithFileAndLine.Match(line); 571m = s_outputRegSimple.Match(line);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SourceInfo.cs (2)
66Match match = s_regex.Match(Arg); 189match = s_regex2.Match(Source);
IIS.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (2)
321var processIdMatch = processIdPattern.Match(aspnetcorev2Log.Message); 356var prefixMatch = prefixPattern.Match(log);
IISExpress.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (2)
321var processIdMatch = processIdPattern.Match(aspnetcorev2Log.Message); 356var prefixMatch = prefixPattern.Match(log);
illink (2)
installer.tasks (1)
StaticFileRegeneration\TpnSectionHeader.cs (1)
158(numberListMatch = NumberListPrefix.Match(lines[i])).Success)
InteropTests (1)
Helpers\WebsiteProcess.cs (1)
69var m = NowListeningRegex.Match(data);
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\Infrastructure\EmbeddedLanguageCommentDetector.cs (1)
38var match = _regex.Match(text);
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
DebugProxyLauncher.cs (2)
214var matchFirefox = NowListeningFirefoxRegex.Match(eventArgs.Data); 223var match = NowListeningRegex.Match(eventArgs.Data);
Microsoft.AspNetCore.Components.WebView.Maui (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
87 if (ContentUrlRegex.Match(requestPath) is { Success: true } match)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
87 if (ContentUrlRegex.Match(requestPath) is { Success: true } match)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
87 if (ContentUrlRegex.Match(requestPath) is { Success: true } match)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
806var match = OpenSslVersionRegex().Match(stdout);
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (2)
64var match = TimestampRegex.Match(value); 179var match = DurationRegex.Match(value);
Microsoft.AspNetCore.Grpc.Swagger (2)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (2)
64var match = TimestampRegex.Match(value); 179var match = DurationRegex.Match(value);
Microsoft.AspNetCore.Rewrite (5)
RedirectRule.cs (2)
36initMatchResults = InitialMatch.Match(string.Empty); 40initMatchResults = InitialMatch.Match(path.ToString().Substring(1));
RewriteRule.cs (2)
33initMatchResults = InitialMatch.Match(path.ToString()); 37initMatchResults = InitialMatch.Match(path.ToString().Substring(1));
UrlMatches\RegexMatch.cs (1)
20var res = _match.Match(pattern);
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Deployers\SelfHostDeployer.cs (1)
155var m = NowListeningRegex.Match(dataArgs.Data);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISExpressDeployer.cs (1)
211var m = UrlDetectorRegex.Match(dataArgs.Data);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
806var match = OpenSslVersionRegex().Match(stdout);
Microsoft.AspNetCore.SpaServices.Extensions (1)
Util\EventedStreamReader.cs (1)
56var match = regex.Match(line);
Microsoft.Build (16)
BuildCheck\Infrastructure\EditorConfig\EditorConfigGlobsMatcher.cs (1)
45var match = Regex.Match(s);
CanonicalError.cs (8)
286Match match = s_originCategoryCodeTextExpression.Value.Match(message); 295match = s_originCategoryCodeTextExpression2.Value.Match(message); 356match = s_filenameLocationFromOrigin.Value.Match(origin); 376match = s_lineFromLocation.Value.Match(location); 383match = s_lineLineFromLocation.Value.Match(location); 391match = s_lineColFromLocation.Value.Match(location); 399match = s_lineColColFromLocation.Value.Match(location); 408match = s_lineColLineColFromLocation.Value.Match(location);
Construction\Solution\SolutionFile.cs (4)
1055Match match = s_crackPropertyLine.Value.Match(line); 1073Match match = s_crackPropertyLine.Value.Match(line); 1505Match match = s_crackProjectLine.Value.Match(firstLine); 1605Match match = s_crackPropertyLine.Value.Match(str);
Evaluation\IntrinsicFunctions.cs (1)
282var m = RegistrySdkRegex.Value.Match(keyName);
FileMatcher.cs (1)
1864Match match = fileSpecRegex.Match(fileToMatch);
ProjectWriter.cs (1)
152Match itemVectorTransform = itemVectorTransformPattern.Value.Match(itemVectorTransforms[i].Value);
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
217Match match = regex.Match(output);
Microsoft.Build.CommandLine.UnitTests (1)
MSBuildServer_Tests.cs (1)
347Match match = regex.Match(searchString);
Microsoft.Build.Engine.UnitTests (13)
FileUtilitiesRegex_Tests.cs (13)
199var match = StartsWithUncPattern.Match(winDirectory); 203match = StartsWithUncPattern.Match(unixDirectory); 265var match = StartsWithUncPattern.Match(winDirectory); 269match = StartsWithUncPattern.Match(unixDirectory); 320var match = StartsWithUncPattern.Match(winDirectory); 324match = StartsWithUncPattern.Match(unixDirectory); 385var match = StartsWithUncPattern.Match(winDirectory); 389match = StartsWithUncPattern.Match(unixDirectory); 450var match = StartsWithUncPattern.Match(winDirectory); 453match = StartsWithUncPattern.Match(unixDirectory); 513var match = StartsWithUncPattern.Match(winDirectory); 516match = StartsWithUncPattern.Match(unixDirectory); 535StartsWithUncPattern.Match(string.Empty).Success.ShouldBeFalse();
Microsoft.Build.Tasks.CodeAnalysis (7)
CanonicalError.cs (7)
300Match match = s_originCategoryCodeTextExpression.Match(message); 331match = s_filenameLocationFromOrigin.Match(origin); 351match = s_lineFromLocation.Match(location); 358match = s_lineLineFromLocation.Match(location); 366match = s_lineColFromLocation.Match(location); 374match = s_lineColColFromLocation.Match(location); 383match = s_lineColLineColFromLocation.Match(location);
Microsoft.Build.Tasks.Core (15)
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs (1)
100Match match = s_crackAssemblyFoldersFromConfigSentinel.Value.Match(this.searchPathElement);
BootstrapperUtil\BuildMessage.cs (1)
28Match match = s_msbuildMessageCodePattern.Match(HelpCode);
CanonicalError.cs (8)
286Match match = s_originCategoryCodeTextExpression.Value.Match(message); 295match = s_originCategoryCodeTextExpression2.Value.Match(message); 356match = s_filenameLocationFromOrigin.Value.Match(origin); 376match = s_lineFromLocation.Value.Match(location); 383match = s_lineLineFromLocation.Value.Match(location); 391match = s_lineColFromLocation.Value.Match(location); 399match = s_lineColColFromLocation.Value.Match(location); 408match = s_lineColLineColFromLocation.Value.Match(location);
FileMatcher.cs (1)
1864Match match = fileSpecRegex.Match(fileToMatch);
FindInvalidProjectReferences.cs (1)
114Match match = s_platformMonikerFormat.Match(reference);
ManifestUtil\AssemblyIdentity.cs (1)
169Match m = re.Match(assemblyName);
NativeMethods.cs (1)
1390var match = s_assemblyVersionRegex.Match(versionString);
ResolveSDKReference.cs (1)
577Match match = s_sdkReferenceFormat.Match(reference);
Microsoft.Build.Utilities.Core (9)
CanonicalError.cs (8)
286Match match = s_originCategoryCodeTextExpression.Value.Match(message); 295match = s_originCategoryCodeTextExpression2.Value.Match(message); 356match = s_filenameLocationFromOrigin.Value.Match(origin); 376match = s_lineFromLocation.Value.Match(location); 383match = s_lineLineFromLocation.Value.Match(location); 391match = s_lineColFromLocation.Value.Match(location); 399match = s_lineColColFromLocation.Value.Match(location); 408match = s_lineColLineColFromLocation.Value.Match(location);
FileMatcher.cs (1)
1864Match match = fileSpecRegex.Match(fileToMatch);
Microsoft.CodeAnalysis (2)
CommandLine\AnalyzerConfig.SectionNameMatching.cs (1)
44var match = Regex.Match(s);
SourceGeneration\AdditionalSourcesCollection.cs (1)
70if (s_invalidSegmentPattern.Match(hintName) is { Success: true } match)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (1)
307var match = Regex.Match(s);
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Synthesized\GeneratedNameParser.cs (1)
217if (s_fileTypeOrdinalPattern.Match(generatedName) is Match { Success: true, Groups: var groups, Index: var index, Length: var length })
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (1)
src\Compilers\CSharp\Portable\Symbols\Synthesized\GeneratedNameParser.cs (1)
217if (s_fileTypeOrdinalPattern.Match(generatedName) is Match { Success: true, Groups: var groups, Index: var index, Length: var length })
Microsoft.CodeAnalysis.EditorFeatures (2)
EditorConfigSettings\Updater\SettingsUpdateHelper.cs (2)
177var groups = s_optionEntryPattern.Match(curLineText).Groups; 245var groups = s_headerPattern.Match(curLineText.Trim()).Groups;
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Semantics\SpeculationAnalyzerTestsBase.cs (1)
31var initialMatch = UnderTestRegex.Match(code);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
src\Compilers\CSharp\Portable\Symbols\Synthesized\GeneratedNameParser.cs (1)
217if (s_fileTypeOrdinalPattern.Match(generatedName) is Match { Success: true, Groups: var groups, Index: var index, Length: var length })
Microsoft.CodeAnalysis.Features (5)
CodeFixes\Configuration\ConfigurationUpdater.cs (4)
370var match = s_optionEntryPattern.Match(editorConfigString); 456var groups = s_optionEntryPattern.Match(curLineText).Groups; 567var groups = s_headerPattern.Match(curLineText.Trim()).Groups; 601var match = headerRegex.Match(relativePath).Value;
EmbeddedLanguages\EmbeddedLanguageCommentDetector.cs (1)
37var match = _regex.Match(text);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Configuration\DidChangeConfigurationNotificationHandlerTest.cs (1)
336var match = regex.Match(section!);
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (1)
307var match = Regex.Match(s);
Microsoft.DotNet.Build.Tasks.Feed (1)
src\BuildModelFactory.cs (1)
283Match m = LegacyRepositoryUriPattern.Match(repoUri);
Microsoft.DotNet.Build.Tasks.Installers (1)
src\GenerateCurrentVersion.cs (1)
99Match match = regex.Match(buildId);
Microsoft.DotNet.Git.IssueManager (3)
Clients\AzureDevOpsClient.cs (2)
69Match m = RepositoryUriPattern.Match(repositoryUri); 72m = LegacyRepositoryUriPattern.Match(repositoryUri);
Clients\GitHubClient.cs (1)
102Match match = repositoryUriPattern.Match(uri.AbsolutePath);
Microsoft.DotNet.Helix.JobSender (1)
JobDefinition.cs (1)
283Match queueInfoSplit = new Regex(@"\((.+?)\)(.*)").Match(queueInfo);
Microsoft.DotNet.VersionTools.Tasks (1)
UpdateToRemoteDependencies.cs (1)
104Match match = CreateXmlUpdateRegex(elementName, valueGroup).Match(contents);
Microsoft.Maui.Controls.DesignTools (1)
ColorDesignTypeConverter.cs (1)
206 var match = RxFuncExpr.Value.Match(str);
Microsoft.ML.Data (5)
Commands\EvaluateCommand.cs (1)
80var match = _loadNamePattern.Match(input);
Dirty\IniFileUtils.cs (1)
41Match match = numEvaluators.Match(ini);
EntryPoints\EntryPointNode.cs (3)
764return str != null && _stageIdRegex.Match(str).Success; 1073var match = _variableRegex.Match(jsonString); 1109return _variableRegex.Match(variableName).Success;
Microsoft.ML.ResultProcessor (4)
ResultProcessor.cs (4)
609Match mc = _rxTimeElapsed.Match(line); 618mc = _rxMemoryUsage.Match(line); 795Match matchNameValueDeviation = _rxNameValueDeviation.Match(resLine); 815Match matchNameValue = _rxNameValue.Match(resLine);
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
129var match = s_lineSyntax.Match(line);
System.Data.Common (1)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (1)
443Match match = parser.Match(connectionString);
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (1)
443Match match = parser.Match(connectionString);
System.Private.Xml (12)
System\Xml\Serialization\SourceInfo.cs (2)
70Match match = Regex1.Match(Arg); 191match = Regex2.Match(Source);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (10)
2708Match match = EnsureArrayIndexRegex.Match(source); 2754match = P0Regex.Match(source); 2798Match match = EnsureArrayIndexRegex.Match(source); 2834match = P0Regex.Match(source); 3521Match match = UnknownNodeNullAnyTypeRegex.Match(elseString); 3531match = UnknownNodeObjectEmptyRegex.Match(elseString); 3543match = UnknownNodeObjectNullRegex.Match(elseString); 3555match = UnknownNodeObjectRegex.Match(elseString); 3569Match match = ParamsReadRegex.Match(paramsReadSource); 3582Match match = ParamsReadRegex.Match(paramsReadSource);
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\Regex.Match.cs (3)
121RegexCache.GetOrAdd(pattern).Match(input); 129RegexCache.GetOrAdd(pattern, options, s_defaultMatchTimeout).Match(input); 132RegexCache.GetOrAdd(pattern, options, matchTimeout).Match(input);
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
194Match match = r.Match(keys[i]);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
313for (var match = s_msbuildPropertyRegex.Match(unevaluatedString); match.Success; match = match.NextMatch())
Templates.Blazor.Tests (2)
BlazorWasmTemplateTest.cs (1)
119.Match(serviceWorkerAssetsManifestContents);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
806var match = OpenSslVersionRegex().Match(stdout);
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
806var match = OpenSslVersionRegex().Match(stdout);
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
806var match = OpenSslVersionRegex().Match(stdout);
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
806var match = OpenSslVersionRegex().Match(stdout);
Templates.Tests (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
806var match = OpenSslVersionRegex().Match(stdout);
VersioningWebSite (1)
VersionRouteAttribute.cs (1)
52var match = _versionParser.Match(versionRange);
xunit.assert (2)
Sdk\Exceptions\ExceptionUtility.cs (1)
71 var match = transformRegex.Match(stackFrame);
StringAsserts.cs (1)
569 var match = expectedRegex.Match(actualString);
xunit.console (1)
common\AssemblyResolution\DependencyContextAssemblyCache.cs (1)
109var match = RuntimeIdRegex.Match(runtime);