376 references to Value
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
159DashboardUrl = m.Groups["url"].Value;
Aspire.Hosting (1)
Dashboard\DashboardService.cs (1)
45Match { Success: true } match => match.Groups["name"].Value,
Aspire.Microsoft.Data.SqlClient (9)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (9)
177string serverHostName = match.Groups[2].Value; 189string maybeProtocol = match.Groups[1].Value; 195string pipeName = match.Groups[3].Value; 201instanceName = namedInstancePipeMatch.Groups[1].Value; 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 (9)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (9)
177string serverHostName = match.Groups[2].Value; 189string maybeProtocol = match.Groups[1].Value; 195string pipeName = match.Groups[3].Value; 201instanceName = namedInstancePipeMatch.Groups[1].Value; 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.Workload.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
159DashboardUrl = m.Groups["url"].Value;
dotnet-dev-certs (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
280var subject = subjectMatch.Groups[1].Value; 294var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
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));
IIS.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (3)
323var processId = int.Parse(processIdMatch.Groups[1].Value, CultureInfo.InvariantCulture); 359var time = DateTime.Parse(prefixMatch.Groups[1].Value, CultureInfo.InvariantCulture).ToUniversalTime(); 360var prefixProcessId = int.Parse(prefixMatch.Groups[2].Value, CultureInfo.InvariantCulture);
IISExpress.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (3)
323var processId = int.Parse(processIdMatch.Groups[1].Value, CultureInfo.InvariantCulture); 359var time = DateTime.Parse(prefixMatch.Groups[1].Value, CultureInfo.InvariantCulture).ToUniversalTime(); 360var prefixProcessId = int.Parse(prefixMatch.Groups[2].Value, CultureInfo.InvariantCulture);
illink (2)
installer.tasks (1)
StaticFileRegeneration\TpnSectionHeader.cs (1)
162Name = numberListMatch.Groups["name"].Value,
InteropTests (1)
Helpers\WebsiteProcess.cs (1)
72ServerPort = m.Groups["port"].Value;
Microsoft.AspNetCore.App.Analyzers (2)
RouteEmbeddedLanguage\Infrastructure\EmbeddedLanguageCommentDetector.cs (2)
46identifier = match.Groups["identifier"].Value; 48options = optionGroup.Captures.OfType<Capture>().Select(c => c.Value);
Microsoft.AspNetCore.App.Analyzers.Test (2)
RouteEmbeddedLanguage\Infrastructure\MarkupTestFile.cs (2)
79matches.Add((namedSpanStartMatch.Index, namedSpanStartMatch.Value)); 144var name = namedSpanStartMatch.Groups[1].Value;
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (10)
UserJwtsTests.cs (10)
114var id = matches.SingleOrDefault().Groups[1].Value; 148var id = matches.SingleOrDefault().Groups[1].Value; 293var id = matches.SingleOrDefault().Groups[1].Value; 312var id = matches.SingleOrDefault().Groups[1].Value; 332var id = matches.SingleOrDefault().Groups[1].Value; 353var id = matches.SingleOrDefault().Groups[1].Value; 475var id = matches.SingleOrDefault().Groups[1].Value; 568var key = printMatches.SingleOrDefault().Groups[1].Value; 573var resetKey = resetMatches.SingleOrDefault().Groups[1].Value; 594var key = printMatches.SingleOrDefault().Groups[1].Value;
Microsoft.AspNetCore.Components.Endpoints.Tests (34)
EndpointHtmlRendererTest.cs (34)
64var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 87var preamble = match.Groups["preamble"].Value; 94var prerenderedContent = match.Groups["content"].Value; 97var epilogue = match.Groups["epilogue"].Value; 130var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 167var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 202var preamble = match.Groups["preamble"].Value; 218var prerenderedContent = match.Groups["content"].Value; 221var epilogue = match.Groups["epilogue"].Value; 251var preamble = match.Groups["preamble"].Value; 266var prerenderedContent = match.Groups["content"].Value; 269var epilogue = match.Groups["epilogue"].Value; 310var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 342var preamble = match.Groups["preamble"].Value; 357var prerenderedContent = match.Groups["content"].Value; 360var epilogue = match.Groups["epilogue"].Value; 407var preamble = firstMatch.Groups["preamble"].Value; 418var marker = secondMatch.Groups[1].Value; 461var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 500var marker = JsonSerializer.Deserialize<ComponentMarker>(match.Groups[1].Value, ServerComponentSerializationSettings.JsonSerializationOptions); 539var preamble = match.Groups["preamble"].Value; 563var prerenderedContent = match.Groups["content"].Value; 566var epilogue = match.Groups["epilogue"].Value; 590var preamble = match.Groups["preamble"].Value; 614var prerenderedContent = match.Groups["content"].Value; 617var epilogue = match.Groups["epilogue"].Value; 1071var markerText = serverMarkerMatch.Groups[1].Value; 1072var innerHtml = serverMarkerMatch.Groups[2].Value; 1101var markerText = serverNonPrerenderedMarkerMatch.Groups[1].Value; 1128var markerText = webAssemblyMarkerMatch.Groups[1].Value; 1129var innerHtml = webAssemblyMarkerMatch.Groups[2].Value; 1142var markerText = webAssemblyNonPrerenderedMarkerMatch.Groups[1].Value; 1172var preamble = match.Groups["preamble"].Value; 1177var prerenderedContent = match.Groups["content"].Value;
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
DebugProxyLauncher.cs (2)
219capturedUrl = matchFirefox.Groups["url"].Value; 226capturedUrl = match.Groups["url"].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 (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
280var subject = subjectMatch.Groups[1].Value; 294var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
Microsoft.AspNetCore.Grpc.JsonTranscoding (6)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (6)
69var dateTime = match.Groups["datetime"].Value; 70var subseconds = match.Groups["subseconds"].Value; 71var offset = match.Groups["offset"].Value; 184var sign = match.Groups["sign"].Value; 185var secondsText = match.Groups["int"].Value; 191var subseconds = match.Groups["subseconds"].Value;
Microsoft.AspNetCore.Grpc.Swagger (6)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (6)
69var dateTime = match.Groups["datetime"].Value; 70var subseconds = match.Groups["subseconds"].Value; 71var offset = match.Groups["offset"].Value; 184var sign = match.Groups["sign"].Value; 185var secondsText = match.Groups["int"].Value; 191var subseconds = match.Groups["subseconds"].Value;
Microsoft.AspNetCore.Identity.FunctionalTests (2)
MapIdentityApiTests.cs (2)
1365var url = WebUtility.HtmlDecode(confirmationMatch.Groups[1].Value); 1377return WebUtility.HtmlDecode(confirmationMatch.Groups[1].Value);
Microsoft.AspNetCore.Rewrite (1)
BackReferenceCollection.cs (1)
18_backReferences.Add(references[i].Value);
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 (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
280var subject = subjectMatch.Groups[1].Value; 294var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
Microsoft.AspNetCore.SpaServices.Extensions (1)
AngularCli\AngularCliMiddleware.cs (1)
88var uri = new Uri(openBrowserLine.Groups[1].Value);
Microsoft.Build (53)
BuildCheck\Infrastructure\EditorConfig\EditorConfigFile.cs (3)
103var sectionName = sectionMatches[0].Groups[1].Value; 114var key = propMatches[0].Groups[1].Value.ToLower(); 115var value = propMatches[0].Groups[2].Value;
BuildCheck\Infrastructure\EditorConfig\EditorConfigGlobsMatcher.cs (1)
59if (!int.TryParse(match.Groups[i + 1].Value, out int matchedNum) ||
CanonicalError.cs (24)
301category = match.Groups["CATEGORY"].Value.Trim(); 315parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 316parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 317parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 318parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 333string origin = match.Groups["ORIGIN"].Value.Trim(); 334category = match.Groups["CATEGORY"].Value.Trim(); 335parsedMessage.code = match.Groups["CODE"].Value.Trim(); 336parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 337parsedMessage.subcategory = match.Groups["SUBCATEGORY"].Value.Trim(); 363string location = match.Groups["LOCATION"].Value.Trim(); 364parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 379parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 386parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 387parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 394parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 395parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 402parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 403parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 404parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim()); 411parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 412parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 413parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 414parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim());
Construction\Solution\SolutionFile.cs (9)
802string referenceGuid = match.Groups["PROPERTYNAME"].Value.Trim(); 820string propertyName = match.Groups["PROPERTYNAME"].Value.Trim(); 821string propertyValue = match.Groups["PROPERTYVALUE"].Value.Trim(); 1252string projectTypeGuid = match.Groups["PROJECTTYPEGUID"].Value.Trim(); 1253proj.ProjectName = match.Groups["PROJECTNAME"].Value.Trim(); 1254proj.RelativePath = match.Groups["RELATIVEPATH"].Value.Trim(); 1255proj.ProjectGuid = match.Groups["PROJECTGUID"].Value.Trim(); 1347string projectGuid = match.Groups["PROPERTYNAME"].Value.Trim(); 1348string parentProjectGuid = match.Groups["PROPERTYVALUE"].Value.Trim();
DebugUtils.cs (1)
78var nodeMode = match.Groups["nodemode"].Value;
Evaluation\Expander.cs (5)
1079string metadataName = itemMetadataMatch.Groups[RegularExpressions.NameGroup].Value; 1085itemType = itemMetadataMatch.Groups[RegularExpressions.ItemTypeGroup].Value; 1089string metadataValue = itemMetadataMatch.Value; 3055string name = match.Groups[RegularExpressions.NameGroup].Value; 3057ProjectErrorUtilities.VerifyThrowInvalidProject(match.Groups[RegularExpressions.ItemSpecificationGroup].Length == 0, _elementLocation, "QualifiedMetadataInTransformNotAllowed", match.Value, name);
Evaluation\IntrinsicFunctions.cs (1)
290return Path.Combine(NativeMethodsShared.FrameworkBasePath, m.Groups[0].Value) + Path.DirectorySeparatorChar;
FileMatcher.cs (2)
1872wildcardDirectoryPart = match.Groups["WILDCARDDIR"].Value; 1873filenamePart = match.Groups["FILENAME"].Value;
ProjectWriter.cs (7)
152Match itemVectorTransform = itemVectorTransformPattern.Value.Match(itemVectorTransforms[i].Value); 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.CommandLine.UnitTests (1)
MSBuildServer_Tests.cs (1)
348return int.Parse(match.Groups[1].Value);
Microsoft.Build.Conversion.Core (1)
OldVSProjectFileReader.cs (1)
385return ReplaceSpecialCharactersInXmlAttributeString(xmlAttribute.Value);
Microsoft.Build.Engine (31)
Engine\Expander.cs (2)
1934string metadataName = itemMetadataMatch.Groups["NAME"].Value; 1940itemType = itemMetadataMatch.Groups["TYPE"].Value;
Engine\TargetDependencyAnalyzer.cs (1)
796string itemVectorType = itemVectorMatch.Groups["TYPE"].Value;
Items\ItemExpander.cs (7)
200ProjectErrorUtilities.VerifyThrowInvalidProject(itemVectorMatch.Value == itemVectorExpression, 212string itemType = itemVectorMatch.Groups["TYPE"].Value; 273string itemType = itemVector.Groups["TYPE"].Value; 275? itemVector.Groups["TRANSFORM"].Value 351? itemVector.Groups["SEPARATOR"].Value 389string itemMetadataName = itemMetadataMatch.Groups["NAME"].Value; 392parentNode, "QualifiedMetadataInTransformNotAllowed", itemMetadataMatch.Value, itemMetadataName);
Shared\FileMatcher.cs (3)
1104matchResult.fixedDirectoryPart = match.Groups["FIXEDDIR"].Value; 1105matchResult.wildcardDirectoryPart = match.Groups["WILDCARDDIR"].Value; 1106matchResult.filenamePart = match.Groups["FILENAME"].Value;
Shared\ProjectWriter.cs (7)
175Match itemVectorTransform = itemVectorTransformPattern.Match(itemVectorTransforms[i].Value); 181base.WriteString(itemVectorTransform.Groups["PREFIX"].Value); 182base.WriteString(itemVectorTransform.Groups["TYPE"].Value); 183base.WriteRaw(itemVectorTransform.Groups["ARROW"].Value); 184base.WriteString(itemVectorTransform.Groups["TRANSFORM"].Value); 185base.WriteString(itemVectorTransform.Groups["SEPARATOR_SPECIFICATION"].Value); 186base.WriteString(itemVectorTransform.Groups["SUFFIX"].Value);
Shared\ResourceUtilities.cs (2)
53code = messageCode.Groups["CODE"].Value; 54messageOnly = messageCode.Groups["MESSAGE"].Value;
Shared\SolutionParser.cs (9)
561string parentGuid = match.Groups["PROPERTYNAME"].Value.Trim(); 579string propertyName = match.Groups["PROPERTYNAME"].Value.Trim(); 580string propertyValue = match.Groups["PROPERTYVALUE"].Value.Trim(); 1011string projectTypeGuid = match.Groups["PROJECTTYPEGUID"].Value.Trim(); 1012proj.ProjectName = match.Groups["PROJECTNAME"].Value.Trim(); 1013proj.RelativePath = match.Groups["RELATIVEPATH"].Value.Trim(); 1014proj.ProjectGuid = match.Groups["PROJECTGUID"].Value.Trim(); 1066string projectGuid = match.Groups["PROPERTYNAME"].Value.Trim(); 1067string parentProjectGuid = match.Groups["PROPERTYVALUE"].Value.Trim();
Microsoft.Build.Engine.OM.UnitTests (1)
DebugUtils.cs (1)
78var nodeMode = match.Groups["nodemode"].Value;
Microsoft.Build.Engine.UnitTests (5)
Evaluation\ExpressionShredder_Tests.cs (5)
610Assert.Equal(match.Value, capture.Value); 618Assert.Equal(transformGroup.Captures[i].Value, capture.Captures[i].Value); 1128result.Add(itemVector.Groups["TYPE"].Value); 1171string metadataName = embeddedMetadataReference.Groups["NAME"].Value; 1178itemName = embeddedMetadataReference.Groups["TYPE"].Value;
Microsoft.Build.Tasks.Core (40)
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs (2)
105_targetRuntimeVersion = match.Groups["TARGETRUNTIMEVERSION"].Value.Trim(); 106_assemblyFolderConfigFile = match.Groups["ASSEMBLYFOLDERCONFIGFILE"].Value.Trim();
BootstrapperUtil\BuildMessage.cs (1)
31HelpId = int.Parse(match.Value, CultureInfo.InvariantCulture);
CanonicalError.cs (24)
301category = match.Groups["CATEGORY"].Value.Trim(); 315parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 316parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 317parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 318parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 333string origin = match.Groups["ORIGIN"].Value.Trim(); 334category = match.Groups["CATEGORY"].Value.Trim(); 335parsedMessage.code = match.Groups["CODE"].Value.Trim(); 336parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 337parsedMessage.subcategory = match.Groups["SUBCATEGORY"].Value.Trim(); 363string location = match.Groups["LOCATION"].Value.Trim(); 364parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 379parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 386parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 387parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 394parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 395parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 402parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 403parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 404parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim()); 411parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 412parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 413parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 414parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim());
DebugUtils.cs (1)
78var nodeMode = match.Groups["nodemode"].Value;
FileMatcher.cs (2)
1872wildcardDirectoryPart = match.Groups["WILDCARDDIR"].Value; 1873filenamePart = match.Groups["FILENAME"].Value;
FindInvalidProjectReferences.cs (2)
123platformIdentity = match.Groups[PlatformSimpleNameGroup].Value.Trim(); 125string rawVersion = match.Groups[PlatformVersionGroup].Value.Trim();
NativeMethods.cs (6)
1398match.Groups[2].Value) 1400match.Groups[2].Value) 1403if (!string.IsNullOrEmpty(match.Groups[1].Value)) 1405name.Version = new Version(match.Groups[1].Value); 1407if (!string.IsNullOrWhiteSpace(match.Groups[3].Value)) 1409var value = match.Groups[3].Value;
ResolveSDKReference.cs (2)
585sdkSimpleName = match.Groups[SDKsimpleNameGroup].Value.Trim(); 587rawSdkVersion = match.Groups[SDKVersionGroup].Value.Trim();
Microsoft.Build.Utilities.Core (27)
CanonicalError.cs (24)
301category = match.Groups["CATEGORY"].Value.Trim(); 315parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 316parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 317parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 318parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 333string origin = match.Groups["ORIGIN"].Value.Trim(); 334category = match.Groups["CATEGORY"].Value.Trim(); 335parsedMessage.code = match.Groups["CODE"].Value.Trim(); 336parsedMessage.text = (match.Groups["TEXT"].Value + messageOverflow).Trim(); 337parsedMessage.subcategory = match.Groups["SUBCATEGORY"].Value.Trim(); 363string location = match.Groups["LOCATION"].Value.Trim(); 364parsedMessage.origin = match.Groups["FILENAME"].Value.Trim(); 379parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 386parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 387parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 394parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 395parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 402parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 403parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 404parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim()); 411parsedMessage.line = ConvertToIntWithDefault(match.Groups["LINE"].Value.Trim()); 412parsedMessage.column = ConvertToIntWithDefault(match.Groups["COLUMN"].Value.Trim()); 413parsedMessage.endLine = ConvertToIntWithDefault(match.Groups["ENDLINE"].Value.Trim()); 414parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups["ENDCOLUMN"].Value.Trim());
DebugUtils.cs (1)
78var nodeMode = match.Groups["nodemode"].Value;
FileMatcher.cs (2)
1872wildcardDirectoryPart = match.Groups["WILDCARDDIR"].Value; 1873filenamePart = match.Groups["FILENAME"].Value;
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.Tasks.Feed (12)
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\BuildModelFactory.cs (1)
287string replacementUri = $"{Regex.Unescape(AzureDevOpsHostPattern)}/{m.Groups["account"].Value}";
src\common\AzureConnectionStringBuildTask.cs (2)
45AccountName = matches[0].Groups["name"].Value; 46AccountKey = matches[0].Groups["key"].Value;
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
PublishArtifactsInManifestTests.cs (3)
67matches.Groups["account"]?.Value.Should().Be(account); 68matches.Groups["visibility"]?.Value.Should().Be(visibility); 69matches.Groups["feed"]?.Value.Should().Be(feed);
Microsoft.DotNet.Build.Tasks.Installers (3)
src\GenerateCurrentVersion.cs (3)
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 (2)
JobDefinition.cs (2)
286queueAlias = queueInfoSplit.Groups[1].Value; 287queueId = queueInfoSplit.Groups[2].Value;
Microsoft.DotNet.SourceBuild.Tasks (2)
src\WriteBuildOutputProps.cs (2)
123match => match.Groups?["FirstPartChar"].Value.ToUpperInvariant() 133match => match.Groups?["FirstPartChar"].Value.ToUpperInvariant()
Microsoft.DotNet.VersionTools (2)
Dependencies\FileRegexUpdater.cs (2)
75string match = m.Value; 78originalValue = group.Value;
Microsoft.DotNet.XliffTasks (1)
StringExtensions.cs (1)
48int index = int.Parse(placeholder.Groups[1].Value);
MSBuild (1)
DebugUtils.cs (1)
78var nodeMode = match.Groups["nodemode"].Value;
PresentationBuildTasks (2)
Microsoft\Build\Tasks\Windows\UidManager.cs (2)
1341switch (match.Value) 1354return match.Value;
PresentationFramework (5)
MS\Internal\Globalization\BamlResourceContent.cs (5)
106switch (match.Value) 116Debug.Assert(match.Value.Length > 0 && match.Value[0] == BamlConst.EscapeChar); 117if (match.Value.Length == 2) 119return match.Value[1].ToString();
System.Data.Common (3)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (3)
452string keyname = (firstKey ? keypair.Value : keypair.Value.Replace("==", "=")).ToLowerInvariant(); 453string? keyvalue = keyvalues[indexValue++].Value;
System.Data.Odbc (3)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (3)
452string keyname = (firstKey ? keypair.Value : keypair.Value.Replace("==", "=")).ToLowerInvariant(); 453string? keyvalue = keyvalues[indexValue++].Value;
System.Private.Xml (24)
System\Xml\Serialization\SourceInfo.cs (4)
75object varA = ILG.GetVariable(match.Groups["a"].Value); 77object varIA = ILG.GetVariable(match.Groups["ia"].Value); 196Debug.Assert(match.Groups["arg"].Value == Arg); 197Debug.Assert(match.Groups["cast"].Value == CodeIdentifier.GetCSharpName(Type!));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (20)
2739Debug.Assert(match.Groups["locA1"].Value == match.Groups["locA2"].Value); 2740Debug.Assert(match.Groups["locA1"].Value == match.Groups["locA3"].Value); 2741Debug.Assert(match.Groups["locI1"].Value == match.Groups["locI2"].Value); 2743LocalBuilder localA = ilg.GetLocal(match.Groups["locA1"].Value); 2744LocalBuilder localI = ilg.GetLocal(match.Groups["locI1"].Value); 2785System.Diagnostics.Debug.Assert(CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups["a"].Value)).IsArray); 2786ilg.Load(ilg.GetVariable(match.Groups["a"].Value)); 2787ilg.Load(ilg.GetVariable(match.Groups["ia"].Value)); 2831object oVar = ilg.GetVariable(match.Groups["locA1"].Value); 2867Type varType = CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups["a"].Value)); 3563ilg.Ldstr(match.Groups["qnames"].Value); 3572LocalBuilder localO = ilg.GetLocal(match.Groups["o"].Value); 3575ilg.Ldstr(match.Groups["qnames"].Value); 3584LocalBuilder localO = ilg.GetLocal(match.Groups["o"].Value); 3596LocalBuilder localO = ilg.GetLocal(match.Groups["o"].Value); 3610ilg.Ldc(int.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture)); 3623ilg.Ldc(int.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture));
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\Capture.cs (1)
37public override string ToString() => Value;
System\Text\RegularExpressions\Regex.Split.cs (2)
103state.results.Add(match.Groups[i].Value); 131state.results.Add(match.Groups[i].Value);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
315string propertyName = match.Groups["name"].Value.Trim();
Templates.Blazor.Tests (3)
BlazorWasmTemplateTest.cs (1)
210var serviceWorkerAssetsManifestVersionJson = serviceWorkerAssetsManifestVersionMatch.Groups[1].Captures[0].Value;
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
280var subject = subjectMatch.Groups[1].Value; 294var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
280var subject = subjectMatch.Groups[1].Value; 294var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
280var subject = subjectMatch.Groups[1].Value; 294var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
Templates.Mvc.Tests (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
280var subject = subjectMatch.Groups[1].Value; 294var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
Templates.Tests (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
280var subject = subjectMatch.Groups[1].Value; 294var hashes = matches.OfType<Match>().Select(m => m.Groups[1].Value).ToList();
VersioningWebSite (3)
VersionRouteAttribute.cs (3)
59var lowerBound = match.Groups["lb"].Value; 60var higherBound = match.Groups["hb"].Value; 61var range = match.Groups["range"].Value;
WorkloadBuildTasks (2)
InstallWorkloadFromArtifacts.cs (2)
292string packagePreleaseVersion = bandVersionRegex().Match(version).Groups[1].Value; 293string bandPreleaseVersion = bandVersionRegex().Match(bandVersion).Groups[1].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)
74 var file = match.Groups["file"].Value; 75 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;