1 override of Groups
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Match.cs (1)
386public override GroupCollection Groups => _groupcoll ??= new GroupCollection(this, _caps);
782 references to Groups
aspire (5)
Projects\FallbackProjectParser.cs (3)
250return match.Groups[1].Value; 269var identity = match.Groups[1].Value; 270var version = match.Groups[2].Value;
Utils\MarkdownToSpectreConverter.cs (2)
117var content = match.Groups[1].Value.Trim(); 166var content = match.Groups[1].Value;
Aspire.Dashboard (5)
Model\ConnectionStringParser.cs (5)
231var hostPart = match.Groups[1].Value; 232var portPart = match.Groups[2].Value; 328host = match.Groups[1].Value; 329if (match.Groups[2].Success && int.TryParse(match.Groups[2].Value, out var portValue))
Aspire.EndToEnd.Tests (3)
tests\Shared\TemplatesTesting\AspireProject.cs (3)
142if (matches[0].Groups["tfm"].Value != tfmToUseString) 144throw new XunitException($"Expected to find {tfmToUseString} but found '{matches[0].Groups["tfm"].Value}' in {csprojPath}: {csprojContent}"); 216DashboardUrl = m.Groups["url"].Value;
Aspire.Hosting (6)
Dashboard\DashboardService.cs (1)
53Match { Success: true } match => match.Groups["name"].Value,
Dcp\DcpExecutor.cs (1)
508Match { Success: true } match => match.Groups["name"].Value,
Utils\ContainerReferenceParser.cs (4)
27GetGroupValueOrDefault(match.Groups["registry"]), 28match.Groups["image"].Value, 29GetGroupValueOrDefault(match.Groups["tag"]), 30GetGroupValueOrDefault(match.Groups["digest"])
Aspire.Hosting.Python (4)
PythonVersionDetector.cs (4)
39return match.Groups[1].Value; 98if (match.Success && match.Groups.Count > 2) 100return $"{match.Groups[1].Value}.{match.Groups[2].Value}";
Aspire.Hosting.SqlServer (2)
SqlServerBuilderExtensions.cs (2)
273var count = matchGo.Groups["repeat"].Success ? int.Parse(matchGo.Groups["repeat"].Value, CultureInfo.InvariantCulture) : 1;
Aspire.Microsoft.Data.SqlClient (10)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (10)
177string serverHostName = match.Groups[2].Value; 189string maybeProtocol = match.Groups[1].Value; 195string pipeName = match.Groups[3].Value; 201instanceName = namedInstancePipeMatch.Groups[1].Value; 222if (match.Groups[4].Length > 0) 224instanceName = match.Groups[3].Value; 225port = match.Groups[4].Value; 231else if (int.TryParse(match.Groups[3].Value, out int parsedPort)) 233port = parsedPort == 1433 ? null : match.Groups[3].Value; 238instanceName = match.Groups[3].Value;
Aspire.Microsoft.EntityFrameworkCore.SqlServer (10)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (10)
177string serverHostName = match.Groups[2].Value; 189string maybeProtocol = match.Groups[1].Value; 195string pipeName = match.Groups[3].Value; 201instanceName = namedInstancePipeMatch.Groups[1].Value; 222if (match.Groups[4].Length > 0) 224instanceName = match.Groups[3].Value; 225port = match.Groups[4].Value; 231else if (int.TryParse(match.Groups[3].Value, out int parsedPort)) 233port = parsedPort == 1433 ? null : match.Groups[3].Value; 238instanceName = match.Groups[3].Value;
Aspire.Templates.Tests (5)
BuildAndRunTemplateTests.cs (2)
85var version = match.Groups[1].Value; 137var version = match.Groups[1].Value;
tests\Shared\TemplatesTesting\AspireProject.cs (3)
142if (matches[0].Groups["tfm"].Value != tfmToUseString) 144throw new XunitException($"Expected to find {tfmToUseString} but found '{matches[0].Groups["tfm"].Value}' in {csprojPath}: {csprojContent}"); 216DashboardUrl = m.Groups["url"].Value;
BuildBoss (1)
CompilerNuGetCheckerUtil.cs (1)
113var packageId = match.Groups[1].Value;
dotnet (6)
Commands\Test\MTP\Terminal\TerminalTestReporter.cs (6)
662bool weHaveFilePathAndCodeLine = !string.IsNullOrWhiteSpace(match.Groups["code"].Value); 668terminal.Append(match.Groups["code"].Value); 672terminal.Append(match.Groups["code1"].Value); 680if (!string.IsNullOrWhiteSpace(match.Groups["file"].Value)) 682int line = int.TryParse(match.Groups["line"].Value, out int value) ? value : 0; 683terminal.AppendLink(match.Groups["file"].Value, line);
dotnet-dev-certs (3)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
285var subject = subjectMatch.Groups[1].Value; 299var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
827openSslDir = match.Groups[1].Value;
dotnet-format.UnitTests (7)
CodeFormatterTests.cs (7)
184Assert.EndsWith(s_fSharpProjectFilePath, match.Groups[1].Value); 251Assert.EndsWith("Program.cs", match.Groups[1].Value); 299Assert.Equal(expectedParts.Groups[2].Value, formatParts.Groups[2].Value); 301Assert.Equal(expectedParts.Groups[3].Value, formatParts.Groups[3].Value); 341Assert.EndsWith("Program.cs", match.Groups[1].Value);
dotnet-new.IntegrationTests (6)
DotnetNewDetailsTest.Approval.cs (1)
224return match.Groups[1].Value;
DotnetNewTestTemplatesTests.cs (5)
283if (!string.IsNullOrEmpty(match.Groups[1].Value)) 286packageId = match.Groups[1].Value; 287version = match.Groups[2].Value; 292packageId = match.Groups[4].Value; 293version = match.Groups[3].Value;
dotnet-svcutil-lib (10)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (6)
580ce.FileName = m.Groups[2].Value; 581ce.Line = int.Parse(m.Groups[4].Value, CultureInfo.InvariantCulture); 582ce.Column = int.Parse(m.Groups[5].Value, CultureInfo.InvariantCulture); 584if (string.Compare(m.Groups[full ? 6 : 1].Value, "warning", StringComparison.OrdinalIgnoreCase) == 0) 588ce.ErrorNumber = m.Groups[full ? 7 : 2].Value; 589ce.ErrorText = m.Groups[full ? 8 : 3].Value;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SourceInfo.cs (4)
69object varA = ILG.GetVariable(match.Groups["a"].Value); 71object varIA = ILG.GetVariable(match.Groups["ia"].Value); 192Debug.Assert(match.Groups["arg"].Value == Arg); 193Debug.Assert(match.Groups["cast"].Value == CodeIdentifier.GetCSharpName(Type));
dotnet-watch (2)
Process\WebServerProcessStateObserver.cs (1)
47onServerListening(match.Groups["url"].Value);
UI\BuildOutput.cs (1)
26if (match.Groups[1].Value == "error")
dotnet-watch.Tests (2)
Build\EvaluationTests.cs (2)
591yield return (GetRelativePath(match.Groups[1].Value), match.Groups[3].Value is { Length: > 0 } value ? value : null);
dotnet-watch-test-browser (2)
Program.cs (2)
121return match.Groups[1].Value.Split(","); 134return match.Groups[1].Value;
IIS.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (3)
322var processId = int.Parse(processIdMatch.Groups[1].Value, CultureInfo.InvariantCulture); 358var time = DateTime.Parse(prefixMatch.Groups[1].Value, CultureInfo.InvariantCulture).ToUniversalTime(); 359var prefixProcessId = int.Parse(prefixMatch.Groups[2].Value, CultureInfo.InvariantCulture);
IISExpress.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (3)
322var processId = int.Parse(processIdMatch.Groups[1].Value, CultureInfo.InvariantCulture); 358var time = DateTime.Parse(prefixMatch.Groups[1].Value, CultureInfo.InvariantCulture).ToUniversalTime(); 359var prefixProcessId = int.Parse(prefixMatch.Groups[2].Value, CultureInfo.InvariantCulture);
installer.tasks (1)
StaticFileRegeneration\TpnSectionHeader.cs (1)
162Name = numberListMatch.Groups["name"].Value,
InteropTests (1)
Helpers\WebsiteProcess.cs (1)
74ServerPort = m.Groups["port"].Value;
Metrics (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
Metrics.Legacy (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
Microsoft.AspNetCore.App.Analyzers (2)
RouteEmbeddedLanguage\Infrastructure\EmbeddedLanguageCommentDetector.cs (2)
46identifier = match.Groups["identifier"].Value; 47var optionGroup = match.Groups["option"];
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\Infrastructure\MarkupTestFile.cs (1)
144var name = namedSpanStartMatch.Groups[1].Value;
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (11)
UserJwtsTests.cs (11)
168var id = matches.SingleOrDefault().Groups[1].Value; 202var id = matches.SingleOrDefault().Groups[1].Value; 220var id = matches.SingleOrDefault().Groups[1].Value; 383var id = matches.SingleOrDefault().Groups[1].Value; 402var id = matches.SingleOrDefault().Groups[1].Value; 422var id = matches.SingleOrDefault().Groups[1].Value; 443var id = matches.SingleOrDefault().Groups[1].Value; 565var id = matches.SingleOrDefault().Groups[1].Value; 658var key = printMatches.SingleOrDefault().Groups[1].Value; 663var resetKey = resetMatches.SingleOrDefault().Groups[1].Value; 684var key = printMatches.SingleOrDefault().Groups[1].Value;
Microsoft.AspNetCore.Components.Endpoints.Tests (35)
EndpointHtmlRendererTest.cs (35)
89var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 179var preamble = match.Groups["preamble"].Value; 186var prerenderedContent = match.Groups["content"].Value; 189var epilogue = match.Groups["epilogue"].Value; 223var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 261var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 297var preamble = match.Groups["preamble"].Value; 313var prerenderedContent = match.Groups["content"].Value; 316var epilogue = match.Groups["epilogue"].Value; 347var preamble = match.Groups["preamble"].Value; 362var prerenderedContent = match.Groups["content"].Value; 365var epilogue = match.Groups["epilogue"].Value; 406var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 438var preamble = match.Groups["preamble"].Value; 453var prerenderedContent = match.Groups["content"].Value; 456var epilogue = match.Groups["epilogue"].Value; 503var preamble = firstMatch.Groups["preamble"].Value; 514var marker = secondMatch.Groups[1].Value; 557var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 596var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 635var preamble = match.Groups["preamble"].Value; 659var prerenderedContent = match.Groups["content"].Value; 662var epilogue = match.Groups["epilogue"].Value; 686var preamble = match.Groups["preamble"].Value; 710var prerenderedContent = match.Groups["content"].Value; 713var epilogue = match.Groups["epilogue"].Value; 1215var markerText = serverMarkerMatch.Groups[1].Value; 1216var innerHtml = serverMarkerMatch.Groups[2].Value; 1245var markerText = serverNonPrerenderedMarkerMatch.Groups[1].Value; 1272var markerText = webAssemblyMarkerMatch.Groups[1].Value; 1273var innerHtml = webAssemblyMarkerMatch.Groups[2].Value; 1286var markerText = webAssemblyNonPrerenderedMarkerMatch.Groups[1].Value; 1318var preamble = match.Groups["preamble"].Value; 1323var prerenderedContent = match.Groups["content"].Value; 1651content = content.Substring(wasmOptionsMatch.Groups[0].Length);
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
DebugProxyLauncher.cs (2)
219capturedUrl = matchFirefox.Groups["url"].Value; 226capturedUrl = match.Groups["url"].Value;
Microsoft.AspNetCore.Components.WebView.Maui (2)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (2)
96 var assemblyName = match.Groups["AssemblyName"].Value; 97 var relativePath = match.Groups["RelativePath"].Value;
Microsoft.AspNetCore.Components.WebView.WindowsForms (2)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (2)
96 var assemblyName = match.Groups["AssemblyName"].Value; 97 var relativePath = match.Groups["RelativePath"].Value;
Microsoft.AspNetCore.Components.WebView.Wpf (2)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (2)
96 var assemblyName = match.Groups["AssemblyName"].Value; 97 var relativePath = match.Groups["RelativePath"].Value;
Microsoft.AspNetCore.DataProtection.Tests (5)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorTests.cs (5)
32int keyLengthInBits = Int32.Parse(Regex.Match(encryptionAlgorithm.ToString(), @"^AES_(?<keyLength>\d{3})_CBC$").Groups["keyLength"].Value, CultureInfo.InvariantCulture); 33string hashAlgorithm = Regex.Match(validationAlgorithm.ToString(), @"^HMAC(?<hashAlgorithm>.*)$").Groups["hashAlgorithm"].Value; 60int keyLengthInBits = Int32.Parse(Regex.Match(encryptionAlgorithm.ToString(), @"^AES_(?<keyLength>\d{3})_GCM$").Groups["keyLength"].Value, CultureInfo.InvariantCulture); 86int keyLengthInBits = Int32.Parse(Regex.Match(encryptionAlgorithm.ToString(), @"^AES_(?<keyLength>\d{3})_GCM$").Groups["keyLength"].Value, CultureInfo.InvariantCulture); 123int keyLengthInBits = Int32.Parse(Regex.Match(encryptionAlgorithm.ToString(), @"^AES_(?<keyLength>\d{3})_CBC$").Groups["keyLength"].Value, CultureInfo.InvariantCulture);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (3)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
285var subject = subjectMatch.Groups[1].Value; 299var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
827openSslDir = match.Groups[1].Value;
Microsoft.AspNetCore.Grpc.JsonTranscoding (6)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (6)
70var dateTime = match.Groups["datetime"].Value; 71var subseconds = match.Groups["subseconds"].Value; 72var offset = match.Groups["offset"].Value; 185var sign = match.Groups["sign"].Value; 186var secondsText = match.Groups["int"].Value; 192var subseconds = match.Groups["subseconds"].Value;
Microsoft.AspNetCore.Grpc.Swagger (6)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (6)
70var dateTime = match.Groups["datetime"].Value; 71var subseconds = match.Groups["subseconds"].Value; 72var offset = match.Groups["offset"].Value; 185var sign = match.Groups["sign"].Value; 186var secondsText = match.Groups["int"].Value; 192var subseconds = match.Groups["subseconds"].Value;
Microsoft.AspNetCore.Identity.FunctionalTests (4)
MapIdentityApiTests.cs (4)
1404Assert.Equal(2, confirmationMatch.Groups.Count); 1406var url = WebUtility.HtmlDecode(confirmationMatch.Groups[1].Value); 1416Assert.Equal(2, confirmationMatch.Groups.Count); 1418return WebUtility.HtmlDecode(confirmationMatch.Groups[1].Value);
Microsoft.AspNetCore.Rewrite (1)
UrlMatches\RegexMatch.cs (1)
21return new MatchResults(success: res.Success != Negate, new BackReferenceCollection(res.Groups));
Microsoft.AspNetCore.Rewrite.Tests (8)
IISUrlRewrite\InputParserTests.cs (4)
168return new BackReferenceCollection(match.Groups); 174return new BackReferenceCollection(match.Groups); 180return new MatchResults(match.Success, new BackReferenceCollection(match.Groups)); 186return new MatchResults(match.Success, new BackReferenceCollection(match.Groups));
IISUrlRewrite\ServerVariableTests.cs (2)
162return new MatchResults(match.Success, new BackReferenceCollection(match.Groups)); 168return new MatchResults(match.Success, new BackReferenceCollection(match.Groups));
PatternSegments\ConditionMatchSegmentTests.cs (1)
32return new MatchResults(match.Success, new BackReferenceCollection(match.Groups));
PatternSegments\RuleMatchSegmentTests.cs (1)
31return new MatchResults(match.Success, new BackReferenceCollection(match.Groups));
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Deployers\SelfHostDeployer.cs (1)
158actualUrl = new Uri(m.Groups["url"].Value);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISExpressDeployer.cs (1)
214url = new Uri(m.Groups["url"].Value);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
285var subject = subjectMatch.Groups[1].Value; 299var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
827openSslDir = match.Groups[1].Value;
Microsoft.AspNetCore.Shared.Tests (3)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
285var subject = subjectMatch.Groups[1].Value; 299var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
827openSslDir = match.Groups[1].Value;
Microsoft.AspNetCore.SpaServices.Extensions (1)
AngularCli\AngularCliMiddleware.cs (1)
88var uri = new Uri(openBrowserLine.Groups[1].Value);
Microsoft.Build (57)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (5)
87if (sectionMatch.Success && sectionMatch.Groups.Count > 0) 91var sectionName = sectionMatch.Groups[1].Value; 100if (propMatch.Success && propMatch.Groups.Count > 1) 102var key = propMatch.Groups[1].Value.ToLower(); 103var value = propMatch.Groups[2].Value;
BuildCheck\Infrastructure\EditorConfig\EditorConfigGlobsMatcher.cs (2)
51Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 56if (!int.TryParse(match.Groups[i + 1].Value, out int matchedNum) ||
CanonicalError.cs (24)
354category = match.Groups["CATEGORY"].Value.Trim(); 368parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 369parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 370parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 371parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 386string origin = match.Groups["ORIGIN"].Value.Trim(); 387category = match.Groups["CATEGORY"].Value.Trim(); 388parsedMessage.code = match.Groups["CODE"].Value.Trim(); 389parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 390parsedMessage.subcategory = match.Groups["SUBCATEGORY"].Value.Trim(); 416string location = match.Groups["LOCATION"].Value.Trim(); 417parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 432parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 439parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 440parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 447parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 448parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 455parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 456parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 457parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim()); 464parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 465parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 466parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 467parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim());
Construction\Solution\SolutionFile.cs (9)
1081string referenceGuid = match.Groups["PROPERTYNAME"].Value.Trim(); 1099string propertyName = match.Groups["PROPERTYNAME"].Value.Trim(); 1100string propertyValue = match.Groups["PROPERTYVALUE"].Value.Trim(); 1507string projectTypeGuid = match.Groups["PROJECTTYPEGUID"].Value.Trim(); 1508proj.ProjectName = match.Groups["PROJECTNAME"].Value.Trim(); 1509proj.RelativePath = match.Groups["RELATIVEPATH"].Value.Trim(); 1510proj.ProjectGuid = match.Groups["PROJECTGUID"].Value.Trim(); 1607string projectGuid = match.Groups["PROPERTYNAME"].Value.Trim(); 1608string parentProjectGuid = match.Groups["PROPERTYVALUE"].Value.Trim();
DebugUtils.cs (1)
79var nodeMode = match.Groups["nodemode"].Value;
Evaluation\Expander.cs (4)
1158string metadataName = itemMetadataMatch.Groups[RegularExpressions.NameGroup].Value; 1171if (itemMetadataMatch.Groups[RegularExpressions.ItemSpecificationGroup].Length > 0) 1173itemType = itemMetadataMatch.Groups[RegularExpressions.ItemTypeGroup].Value; 3013GroupCollection groupCollection = match.Groups;
Evaluation\IntrinsicFunctions.cs (2)
295if (m.Success && m.Groups.Count >= 1 && valueName.Equals("InstallRoot", StringComparison.OrdinalIgnoreCase)) 297return Path.Combine(NativeMethodsShared.FrameworkBasePath, m.Groups[0].Value) + Path.DirectorySeparatorChar;
FileMatcher.cs (2)
1884wildcardDirectoryPart = match.Groups["WILDCARDDIR"].Value; 1885filenamePart = match.Groups["FILENAME"].Value;
Logging\TerminalLogger\TerminalLogger.cs (2)
274tlArg = tlMatches.OfType<Match>().LastOrDefault()?.Groups["value"].Value ?? string.Empty; 277verbosityArg = verbosityMatches.OfType<Match>().LastOrDefault()?.Groups["value"].Value;
ProjectWriter.cs (6)
158base.WriteString(itemVectorTransform.Groups["PREFIX"].Value); 159base.WriteString(itemVectorTransform.Groups["TYPE"].Value); 160base.WriteRaw(itemVectorTransform.Groups["ARROW"].Value); 161base.WriteString(itemVectorTransform.Groups["TRANSFORM"].Value); 162base.WriteString(itemVectorTransform.Groups["SEPARATOR_SPECIFICATION"].Value); 163base.WriteString(itemVectorTransform.Groups["SUFFIX"].Value);
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
221return int.Parse(match.Groups[1].Value);
Microsoft.Build.CommandLine.UnitTests (3)
MSBuildServer_Tests.cs (1)
354return int.Parse(match.Groups[1].Value);
XMake_Tests.cs (2)
2822string binlogPath = Path.Combine(testProject.TestRoot, match.Groups[1] + ".binlog"); 2849string binlogPath = Path.Combine(testProject.TestRoot, match.Groups[1] + ".binlog");
Microsoft.Build.Engine.OM.UnitTests (1)
DebugUtils.cs (1)
79var nodeMode = match.Groups["nodemode"].Value;
Microsoft.Build.Engine.UnitTests (8)
Evaluation\ExpressionShredder_Tests.cs (5)
610Group transformGroup = match.Groups["TRANSFORM"]; 1172result.Add(itemVector.Groups["TYPE"].Value); 1215string metadataName = embeddedMetadataReference.Groups["NAME"].Value; 1220if (embeddedMetadataReference.Groups["ITEM_SPECIFICATION"].Length > 0) 1222itemName = embeddedMetadataReference.Groups["TYPE"].Value;
NetTaskHost_E2E_Tests.cs (3)
83string msBuildDllPath = msBuildDllPathMatch.Groups[1].Value.Trim(); 99string arg1Value = arg1Match.Groups[1].Value.Trim(); 114string cmdLine = cmdLineMatch.Groups[1].Value.Trim();
Microsoft.Build.Tasks.CodeAnalysis (19)
src\Compilers\Core\MSBuildTask\CanonicalError.cs (19)
308string origin = match.Groups["ORIGIN"].Value.Trim(); 309string category = match.Groups["CATEGORY"].Value.Trim(); 310parsedMessage.code = match.Groups["CODE"].Value.Trim(); 311parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 312parsedMessage.subcategory = match.Groups["SUBCATEGORY"].Value.Trim(); 338string location = match.Groups["LOCATION"].Value.Trim(); 339parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 354parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 361parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 362parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 369parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 370parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 377parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 378parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 379parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim()); 386parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 387parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 388parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 389parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim());
Microsoft.Build.Tasks.CodeAnalysis.Sdk (19)
src\Compilers\Core\MSBuildTask\CanonicalError.cs (19)
308string origin = match.Groups["ORIGIN"].Value.Trim(); 309string category = match.Groups["CATEGORY"].Value.Trim(); 310parsedMessage.code = match.Groups["CODE"].Value.Trim(); 311parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 312parsedMessage.subcategory = match.Groups["SUBCATEGORY"].Value.Trim(); 338string location = match.Groups["LOCATION"].Value.Trim(); 339parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 354parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 361parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 362parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 369parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 370parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 377parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 378parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 379parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim()); 386parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 387parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 388parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 389parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim());
Microsoft.Build.Tasks.Core (39)
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs (2)
105_targetRuntimeVersion = match.Groups["TARGETRUNTIMEVERSION"].Value.Trim(); 106_assemblyFolderConfigFile = match.Groups["ASSEMBLYFOLDERCONFIGFILE"].Value.Trim();
CanonicalError.cs (24)
354category = match.Groups["CATEGORY"].Value.Trim(); 368parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 369parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 370parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 371parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 386string origin = match.Groups["ORIGIN"].Value.Trim(); 387category = match.Groups["CATEGORY"].Value.Trim(); 388parsedMessage.code = match.Groups["CODE"].Value.Trim(); 389parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 390parsedMessage.subcategory = match.Groups["SUBCATEGORY"].Value.Trim(); 416string location = match.Groups["LOCATION"].Value.Trim(); 417parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 432parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 439parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 440parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 447parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 448parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 455parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 456parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 457parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim()); 464parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 465parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 466parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 467parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim());
DebugUtils.cs (1)
79var nodeMode = match.Groups["nodemode"].Value;
FileMatcher.cs (2)
1884wildcardDirectoryPart = match.Groups["WILDCARDDIR"].Value; 1885filenamePart = match.Groups["FILENAME"].Value;
FindInvalidProjectReferences.cs (2)
128platformIdentity = match.Groups[PlatformSimpleNameGroup].Value.Trim(); 130string rawVersion = match.Groups[PlatformVersionGroup].Value.Trim();
NativeMethods.cs (6)
1405match.Groups[2].Value) 1407match.Groups[2].Value) 1410if (!string.IsNullOrEmpty(match.Groups[1].Value)) 1412name.Version = new Version(match.Groups[1].Value); 1414if (!string.IsNullOrWhiteSpace(match.Groups[3].Value)) 1416var value = match.Groups[3].Value;
ResolveSDKReference.cs (2)
589sdkSimpleName = match.Groups[SDKsimpleNameGroup].Value.Trim(); 591rawSdkVersion = match.Groups[SDKVersionGroup].Value.Trim();
Microsoft.Build.Utilities.Core (27)
CanonicalError.cs (24)
354category = match.Groups["CATEGORY"].Value.Trim(); 368parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 369parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 370parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 371parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 386string origin = match.Groups["ORIGIN"].Value.Trim(); 387category = match.Groups["CATEGORY"].Value.Trim(); 388parsedMessage.code = match.Groups["CODE"].Value.Trim(); 389parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 390parsedMessage.subcategory = match.Groups["SUBCATEGORY"].Value.Trim(); 416string location = match.Groups["LOCATION"].Value.Trim(); 417parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 432parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 439parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 440parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 447parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 448parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 455parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 456parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 457parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim()); 464parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 465parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 466parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 467parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim());
DebugUtils.cs (1)
79var nodeMode = match.Groups["nodemode"].Value;
FileMatcher.cs (2)
1884wildcardDirectoryPart = match.Groups["WILDCARDDIR"].Value; 1885filenamePart = match.Groups["FILENAME"].Value;
Microsoft.CodeAnalysis (7)
CommandLine\AnalyzerConfig.cs (5)
222if (sectionMatches.Count > 0 && sectionMatches[0].Groups.Count > 0) 226var sectionName = sectionMatches[0].Groups[1].Value; 236if (propMatches.Count > 0 && propMatches[0].Groups.Count > 1) 238var key = propMatches[0].Groups[1].Value; 239var value = propMatches[0].Groups[2].Value;
CommandLine\AnalyzerConfig.SectionNameMatching.cs (2)
49Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 54if (!int.TryParse(match.Groups[i + 1].Value, out int matchedNum) ||
Microsoft.CodeAnalysis.Analyzers (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
Microsoft.CodeAnalysis.AnalyzerUtilities (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
Microsoft.CodeAnalysis.BannedApiAnalyzers (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
Microsoft.CodeAnalysis.CodeStyle (14)
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
347var textInsideBrackets = match.Groups[1].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
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.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
4803Assert.Equal(filePath, match.Groups["path"].Value); 4804Assert.Contains("testhost", match.Groups["app"].Value); 4805Assert.Equal(currentProcess.Id, int.Parse(match.Groups["pid"].Value));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (2)
2497Assert.True(long.TryParse(m.Groups[1].Value, NumberStyles.HexNumber, null, out long rva), $"Expected {m.Value} to parse as hex long."); 2612string[] actual = Regex.Matches(il, @"\.class nested assembly explicit ansi sealed '([^']*?)'").Cast<Match>().Select(m => m.Groups[1].Value).ToArray();
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 (6)
EditorConfigSettings\DataProvider\SettingsProviderBase.cs (1)
148if (match.Success && match.Groups["key"].Value is string isolatedKey &&
EditorConfigSettings\Updater\SettingsUpdateHelper.cs (2)
177var groups = s_optionEntryPattern.Match(curLineText).Groups; 245var groups = s_headerPattern.Match(curLineText.Trim()).Groups;
QuickInfo\OnTheFlyDocsView.xaml.cs (3)
151quotaExceededMatch.Groups[1].Value), 154quotaExceededMatch.Groups[2].Value, 158quotaExceededMatch.Groups[3].Value)];
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Semantics\SpeculationAnalyzerTestsBase.cs (2)
33var initialExpression = initialMatch.Groups["content"].Value; 35var initialTree = Parse(UnderTestRegex.Replace(code, m => m.Groups["content"].Value));
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 (8)
CodeFixes\Configuration\ConfigurationUpdater.cs (4)
373parts = (optionName: match.Groups[1].Value.Trim(), 374optionValue: match.Groups[2].Value.Trim()); 456var groups = s_optionEntryPattern.Match(curLineText).Groups; 567var groups = s_headerPattern.Match(curLineText.Trim()).Groups;
ConvertNumericLiteral\AbstractConvertNumericLiteralCodeRefactoringProvider.cs (1)
134var groups = _regex.Match(numericText).Groups;
EmbeddedLanguages\EmbeddedLanguageCommentDetector.cs (2)
43identifier = match.Groups["identifier"].Value; 45var optionGroup = match.Groups["option"];
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
347var textInsideBrackets = match.Groups[1].Value;
Microsoft.CodeAnalysis.Features.Test.Utilities (8)
EditAndContinue\SourceMarkers.cs (8)
45=> from ids in match.Groups["Id"].Value.Split([','], StringSplitOptions.RemoveEmptyEntries) 56if (match.Groups["Name"].Value != tagName) 61var isStartingTag = match.Groups["IsEnd"].Value == "" || match.Groups["IsStartAndEnd"].Value != ""; 62var isEndingTag = match.Groups["IsEnd"].Value != "" || match.Groups["IsStartAndEnd"].Value != ""; 104var span = matches[i].Groups["TrackingStatement"]; 125var exceptionRegion = matches[i].Groups["ExceptionRegion"];
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (1)
Microsoft.NetCore.Analyzers\Runtime\DoNotCallEnumerableCastOrOfTypeWithIncompatibleTypesAnalyzerTests.cs (1)
157Regex.Match(".", "abc").Groups
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
Microsoft.CodeAnalysis.PublicApiAnalyzers (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
Microsoft.CodeAnalysis.ResxSourceGenerator (14)
AbstractResxGenerator.cs (1)
889.Select(m => m.Groups[1].Value)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
Microsoft.CodeAnalysis.Test.Utilities (11)
CompilationVerifier.cs (2)
304return s_codeSizeCommentsRegex.Replace(output, match => match.Groups[0].Value.Replace(match.Groups[1].Value, ""));
Diagnostics\DiagnosticDescription.cs (3)
476var fmtSpecifier = match.Groups.Count > 1 && match.Groups[1].Success ? match.Groups[1].Value : "";
MarkedSource\MarkupTestFile.cs (1)
146var name = namedSpanStartMatch.Groups[1].Value;
MarkedSource\SourceWithMarkedNodes.cs (5)
56var tagName = match.Groups["TagName"]; 57var markedSyntax = match.Groups["MarkedSyntax"]; 58var syntaxKindOpt = match.Groups["SyntaxKind"].Value; 59var idOpt = match.Groups["Id"].Value; 61var parentIdOpt = match.Groups["ParentId"].Value;
Microsoft.CodeAnalysis.Workspaces (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
Workspace\Solution\ProjectInfo.cs (2)
530return match.Success ? (match.Groups["name"].Value, match.Groups["flavor"].Value) : default;
Microsoft.DotNet.Arcade.Sdk (3)
src\CheckRequiredDotNetVersion.cs (1)
89var minSdkVersionStr = match.Groups[1].Value;
src\GenerateResxSource.cs (1)
507.Select(m => m.Groups[1].Value)
src\LocateDotNet.cs (1)
68var sdkVersion = match.Groups[1].Value;
Microsoft.DotNet.Build.Manifest (1)
BuildModelFactory.cs (1)
235string replacementUri = $"{Regex.Unescape(AzureDevOpsHostPattern)}/{m.Groups["account"].Value}";
Microsoft.DotNet.Build.Tasks.Feed (20)
src\AzureDevOpsNugetFeedAssetPublisher.cs (3)
43_feedAccount = parsedUri.Groups["account"].Value; 44_feedVisibility = parsedUri.Groups["visibility"].Value; 45_feedName = parsedUri.Groups["feed"].Value;
src\BlobFeedAction.cs (5)
46AccountName = m.Groups["accountname"].Value; 47ContainerName = m.Groups["containername"].Value; 48RelativePath = m.Groups["relativepath"].Value; 50feedUrl = m.Groups["feedurl"].Value; 51hasToken = !string.IsNullOrEmpty(m.Groups["token"].Value);
src\BlobUrlInfo.cs (4)
44AccountName = hostNameMatch.Groups["accountname"].Value; 45Endpoint = hostNameMatch.Groups["endpoint"].Value; 57ContainerName = containerAndBlobMatch.Groups["containername"].Value; 58BlobPath = containerAndBlobMatch.Groups["blobpath"].Value;
src\common\AzureConnectionStringBuildTask.cs (2)
45AccountName = matches[0].Groups["name"].Value; 46AccountKey = matches[0].Groups["key"].Value;
src\PublishArtifactsInManifestBase.cs (6)
1383string feedAccount = parsedUri.Groups["account"].Value; 1384string feedVisibility = parsedUri.Groups["visibility"].Value; 1385string feedName = parsedUri.Groups["feed"].Value; 1802string feedAccount = parsedUri.Groups["account"].Value; 1803string feedVisibility = parsedUri.Groups["visibility"].Value; 1804string feedName = parsedUri.Groups["feed"].Value;
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
PublishArtifactsInManifestTests.cs (3)
257matches.Groups["account"]?.Value.Should().Be(account); 258matches.Groups["visibility"]?.Value.Should().Be(visibility); 259matches.Groups["feed"]?.Value.Should().Be(feed);
Microsoft.DotNet.Build.Tasks.Installers (20)
src\CreateWixBuildWixpack.cs (16)
234if (match.Groups.Count == 3) 236_defineVariablesDictionary[match.Groups[1].Value] = ResolvePath(match.Groups[2].Value); 645if (match.Groups.Count > 1) 647string filename = match.Groups[1].Value.Trim('\"'); 966if (!string.IsNullOrEmpty(eqMatch.Groups[1].Value)) 969varName = eqMatch.Groups[1].Value; 970op = eqMatch.Groups[2].Value; 971value = eqMatch.Groups[3].Success ? eqMatch.Groups[3].Value : eqMatch.Groups[4].Value; 976value = eqMatch.Groups[5].Success ? eqMatch.Groups[5].Value : eqMatch.Groups[6].Value; 977op = eqMatch.Groups[7].Value; 978varName = eqMatch.Groups[9].Value;
src\GenerateCurrentVersion.cs (4)
100if (match.Success && match.Groups.Count > 2) 103if (!DateTime.TryParseExact(match.Groups[1].Value, dateFormat, enUS, DateTimeStyles.AssumeLocal, out buildIdDate)) 105Log.LogError("The OfficialBuildId doesn't follow the expected({0}.rr) format: '{1}'", dateFormat, match.Groups[1].Value); 110GeneratedRevision = match.Groups[2].Value;
Microsoft.DotNet.Git.IssueManager (5)
Clients\AzureDevOpsClient.cs (3)
81return (m.Groups["account"].Value, 82m.Groups["project"].Value, 83m.Groups["repo"].Value);
Clients\GitHubClient.cs (2)
109return (match.Groups["owner"].Value, match.Groups["repo"].Value);
Microsoft.DotNet.Helix.JobSender (3)
JobDefinition.cs (3)
284if (queueInfoSplit.Success && queueInfoSplit.Groups.Count == 3) 286queueAlias = queueInfoSplit.Groups[1].Value; 287queueId = queueInfoSplit.Groups[2].Value;
Microsoft.DotNet.SignCheckLibrary (2)
Utils.cs (1)
131match.Success ? match.Groups[groupName].Value : null;
Verification\JavaScriptVerifier.cs (1)
31string signatureBlock = Regex.Replace(match.Groups[1].Value, @"^// SIG //\s?", "", RegexOptions.Multiline);
Microsoft.DotNet.SourceBuild.Tasks (2)
src\WriteBuildOutputProps.cs (2)
123match => match.Groups?["FirstPartChar"].Value.ToUpperInvariant() 133match => match.Groups?["FirstPartChar"].Value.ToUpperInvariant()
Microsoft.DotNet.XliffTasks (1)
StringExtensions.cs (1)
48int index = int.Parse(placeholder.Groups[1].Value);
Microsoft.Extensions.AI.Abstractions (2)
Functions\AIFunctionFactory.cs (2)
1210memberName = $"{match.Groups[1].Value}_{match.Groups[2].Value}";
Microsoft.Extensions.AI.Evaluation.Quality (1)
EvaluationMetricExtensions.cs (1)
106if (!match.Success || match.Groups["value"] is not Group valueGroup || !valueGroup.Success)
Microsoft.Maui.Controls.DesignTools (2)
ColorDesignTypeConverter.cs (2)
208 var funcName = match?.Groups?["func"]?.Value; 209 var funcValues = match?.Groups?["v"]?.Captures;
Microsoft.ML.Data (9)
Commands\EvaluateCommand.cs (1)
83var s = match.Groups[_groupName];
Dirty\IniFileUtils.cs (1)
43string count = match.Groups[1].Value;
EntryPoints\EntryPointNode.cs (7)
1078if (match.Groups["NumericAccessor"].Success) 1081match.Groups["Name"].Value, 1082int.Parse(match.Groups["NumericAccessor"].Value)); 1085if (match.Groups["StringAccessor"].Success) 1088match.Groups["Name"].Value, 1089match.Groups["StringAccessor"].Value); 1092return new SimpleVariableBinding(match.Groups["Name"].Value);
Microsoft.ML.ResultProcessor (11)
ResultProcessor.cs (11)
612timeElapsed = mc.Groups["timeElapsed"].Value; 613executionDate = mc.Groups["executionDate"].Value; 621if (mc.Groups["memoryType"].Value == "Virtual") 622virtualMemory = mc.Groups["memoryUsage"].Value; 623else if (mc.Groups["memoryType"].Value == "Physical") 624physicalMemory = mc.Groups["memoryUsage"].Value; 798string name = matchNameValueDeviation.Groups["name"].Value; 799Double doubleValue = Double.Parse(matchNameValueDeviation.Groups["value"].Value, CultureInfo.InvariantCulture); 801float deviation = (float)Double.Parse(matchNameValueDeviation.Groups["deviation"].Value, CultureInfo.InvariantCulture); 818string name = matchNameValue.Groups["name"].Value; 819float value = float.Parse(matchNameValue.Groups["value"].Value, CultureInfo.InvariantCulture);
Microsoft.NET.Build.Containers (5)
ContainerHelpers.cs (5)
207var namePortion = referenceMatch.Groups[1].Value; 217var registryPortion = nameMatch.Groups[1]; 223var imageNamePortion = nameMatch.Groups[2]; 246var tagPortion = referenceMatch.Groups[2]; 250var digestPortion = referenceMatch.Groups[3];
Microsoft.NET.Build.Tasks.UnitTests (1)
GivenThatWeHaveErrorCodes.cs (1)
78int code = int.Parse(match.Groups[1].Value);
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (12)
WasmPwaManifestTests.cs (12)
171match.Groups.Count.Should().Be(2); 172match.Groups[1].Value.Should().NotBeNull(); 174var capture = match.Groups[1].Value; 188updatedMatch.Groups.Count.Should().Be(2); 189updatedMatch.Groups[1].Value.Should().NotBeNull(); 191var updatedCapture = updatedMatch.Groups[1].Value; 221match.Groups.Count.Should().Be(2); 222match.Groups[1].Value.Should().NotBeNull(); 224var capture = match.Groups[1].Value; 234updatedMatch.Groups.Count.Should().Be(2); 235updatedMatch.Groups[1].Value.Should().NotBeNull(); 237var updatedCapture = updatedMatch.Groups[1].Value;
Microsoft.NET.Sdk.Publish.Tasks (2)
WebConfigTelemetry.cs (2)
103string projectRelativePath = match.Groups["RELATIVEPATH"].Value.Trim(); 111string projectGuid = match.Groups["PROJECTGUID"].Value.Trim();
Microsoft.NET.Sdk.StaticWebAssets.Tasks (4)
OverrideHtmlAssetPlaceholders.cs (3)
79return GeneratePreloadLinks(resources, e.Groups["group"]?.Value); 85string assetPath = e.Groups["fileName"].Value + e.Groups["fileExtension"].Value;
UpdateExternallyDefinedStaticWebAssets.cs (1)
82var fingerprintGroup = match.Groups["fingerprint"];
Microsoft.NET.Sdk.StaticWebAssets.Tests (18)
ScopedCssIntegrationTests.cs (7)
157var counterScopeId = counterScopeMatch.Groups[1].Captures[0].Value; 161var indexScopeId = indexScopeMatch.Groups[1].Captures[0].Value; 189var indexScopeId = indexScopeMatch.Groups[1].Captures[0].Value; 193var aboutScopeId = aboutScopeMatch.Groups[1].Captures[0].Value; 197var contactScopeId = contactScopeMatch.Groups[1].Captures[0].Value; 226var indexScopeId = indexScopeMatch.Groups[1].Captures[0].Value; 230var counterScopeId = counterScopeMatch.Groups[1].Captures[0].Value;
StaticWebAssetEndpointsIntegrationTest.cs (8)
86Groups: [ 97Groups: [ 108Groups: [ 119Groups: [ 131Groups: [ 142Groups: [ 153Groups: [ 164Groups: [
StaticWebAssets\OverrideHtmlAssetPlaceholdersTest.cs (3)
122Assert.Equal(fileName, match.Groups["fileName"].Value + match.Groups["fileExtension"].Value); 287Assert.Equal(group, match.Groups["group"]?.Value);
Microsoft.NET.TestFramework (1)
Utilities\DotnetVersionHelper.cs (1)
19int majorVersion = int.Parse(match.Groups[1].Value);
Microsoft.Win32.Msi (4)
ActionStartEventArgs.cs (3)
50ActionTime = match.Success ? match.Groups["actionTime"].Value : null; 51ActionName = match.Success ? match.Groups["actionName"].Value : null; 52ActionDescription = match.Success ? match.Groups["actionDescription"].Value : null;
ProgressEventArgs.cs (1)
37fields.Add(Convert.ToInt32(match.Groups["value"].Value));
MSBuild (1)
DebugUtils.cs (1)
79var nodeMode = match.Groups["nodemode"].Value;
Roslyn.Diagnostics.Analyzers (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
SDDLTests (6)
Program.cs (6)
111string owner = m.Groups.ContainsKey("O_SID") ? m.Groups["O_SID"].Value : string.Empty; 112string group = m.Groups.ContainsKey("G_SID") ? m.Groups["G_SID"].Value : string.Empty; 113IEnumerable<string> aces = m.Groups.ContainsKey("DACL") ? m.Groups["DACL"].Captures.Select(c => c.Value.Trim('(', ')')) :
SemanticSearch.BuildTask (3)
GenerateFilteredReferenceAssembliesTask.cs (3)
217var inclusion = match.Groups["Inclusion"].Value; 218var kinds = match.Groups["Kinds"].Value; 219var metadataName = match.Groups["MetadataName"].Value;
System.Data.Common (2)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (2)
449CaptureCollection keyvalues = match.Groups[ValueIndex].Captures; 450foreach (Capture keypair in match.Groups[KeyIndex].Captures)
System.Data.Odbc (2)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (2)
449CaptureCollection keyvalues = match.Groups[ValueIndex].Captures; 450foreach (Capture keypair in match.Groups[KeyIndex].Captures)
System.Private.Xml (24)
System\Xml\Serialization\SourceInfo.cs (4)
73object varA = ILG.GetVariable(match.Groups["a"].Value); 75object varIA = ILG.GetVariable(match.Groups["ia"].Value); 194Debug.Assert(match.Groups["arg"].Value == Arg); 195Debug.Assert(match.Groups["cast"].Value == CodeIdentifier.GetCSharpName(Type!));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (20)
2710Debug.Assert(match.Groups["locA1"].Value == match.Groups["locA2"].Value); 2711Debug.Assert(match.Groups["locA1"].Value == match.Groups["locA3"].Value); 2712Debug.Assert(match.Groups["locI1"].Value == match.Groups["locI2"].Value); 2714LocalBuilder localA = ilg.GetLocal(match.Groups["locA1"].Value); 2715LocalBuilder localI = ilg.GetLocal(match.Groups["locI1"].Value); 2756System.Diagnostics.Debug.Assert(CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups["a"].Value)).IsArray); 2757ilg.Load(ilg.GetVariable(match.Groups["a"].Value)); 2758ilg.Load(ilg.GetVariable(match.Groups["ia"].Value)); 2800object oVar = ilg.GetVariable(match.Groups["locA1"].Value); 2836Type varType = CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups["a"].Value)); 3526ilg.Ldstr(match.Groups["qnames"].Value); 3535LocalBuilder localO = ilg.GetLocal(match.Groups["o"].Value); 3538ilg.Ldstr(match.Groups["qnames"].Value); 3547LocalBuilder localO = ilg.GetLocal(match.Groups["o"].Value); 3559LocalBuilder localO = ilg.GetLocal(match.Groups["o"].Value); 3573ilg.Ldc(int.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture)); 3586ilg.Ldc(int.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture));
System.Text.RegularExpressions (5)
System\Text\RegularExpressions\Match.cs (1)
161Synchronized(inner.Groups[i]);
System\Text\RegularExpressions\Regex.Split.cs (4)
99for (int i = 1; i < match.Groups.Count; i++) 103state.results.Add(match.Groups[i].Value); 127for (int i = 1; i < match.Groups.Count; i++) 131state.results.Add(match.Groups[i].Value);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
315string propertyName = match.Groups["name"].Value.Trim();
Templates.Blazor.Tests (4)
BlazorWasmTemplateTest.cs (1)
121var serviceWorkerAssetsManifestVersionJson = serviceWorkerAssetsManifestVersionMatch.Groups[1].Captures[0].Value;
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
285var subject = subjectMatch.Groups[1].Value; 299var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
827openSslDir = match.Groups[1].Value;
Templates.Blazor.WebAssembly.Auth.Tests (3)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
285var subject = subjectMatch.Groups[1].Value; 299var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
827openSslDir = match.Groups[1].Value;
Templates.Blazor.WebAssembly.Tests (3)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
285var subject = subjectMatch.Groups[1].Value; 299var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
827openSslDir = match.Groups[1].Value;
Templates.Mvc.Tests (3)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
285var subject = subjectMatch.Groups[1].Value; 299var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
827openSslDir = match.Groups[1].Value;
Templates.Tests (3)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
285var subject = subjectMatch.Groups[1].Value; 299var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
827openSslDir = match.Groups[1].Value;
Text.Analyzers (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigParser.cs (5)
70if (sectionMatches is [{ Groups.Count: > 0 }, ..]) 73var sectionName = sectionMatches[0].Groups[1].Value; 86if (propMatches is [{ Groups.Count: > 1 }, ..]) 88var key = propMatches[0].Groups[1].Value; 89var value = propMatches[0].Groups[2].Value;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher.cs (8)
138if (singleMatch.Groups.Count == 2) 140var innerText = singleMatch.Groups[1].Value; 182if (singleMatch.Groups.Count == 2) 184var innerText = singleMatch.Groups[1].Value; 225if (singleMatch.Groups.Count == 2) 227var innerText = singleMatch.Groups[1].Value; 313Debug.Assert(match.Groups.Count - 1 == _numberRangePairs.Length); 318if (!int.TryParse(match.Groups[i + 1].Value, out var matchedNum) ||
VersioningWebSite (3)
VersionRouteAttribute.cs (3)
59var lowerBound = match.Groups["lb"].Value; 60var higherBound = match.Groups["hb"].Value; 61var range = match.Groups["range"].Value;
XmlFileLogger (2)
XmlFileLogger.cs (2)
139_build.SetTaskAssembly(match.Groups["task"].Value, match.Groups["assembly"].Value);
xunit.assert (3)
Sdk\Exceptions\ExceptionUtility.cs (3)
76 var file = match.Groups["file"].Value; 77 return string.Format(CultureInfo.InvariantCulture, "{0}{1}({2},0): at {3}", indent, file, match.Groups["line"].Value, match.Groups["method"].Value);
xunit.console (1)
common\AssemblyResolution\DependencyContextAssemblyCache.cs (1)
110var arch = match?.Groups?["arch"]?.Value;