Implemented interface member:
209 references to
Aspire.EndToEnd.Tests (3)
tests\Shared\TemplatesTesting\AspireProject.cs (3)
142
if (matches[0].Groups
[
"tfm"].Value != tfmToUseString)
144
throw new XunitException($"Expected to find {tfmToUseString} but found '{matches[0].Groups
[
"tfm"].Value}' in {csprojPath}: {csprojContent}");
216
DashboardUrl = m.Groups
[
"url"].Value;
Aspire.Hosting (6)
Dashboard\DashboardService.cs (1)
49
Match { Success: true } match => match.Groups
[
"name"].Value,
Dcp\DcpExecutor.cs (1)
457
Match { Success: true } match => match.Groups
[
"name"].Value,
Utils\ContainerReferenceParser.cs (4)
27
GetGroupValueOrDefault(match.Groups
[
"registry"]),
28
match.Groups
[
"image"].Value,
29
GetGroupValueOrDefault(match.Groups
[
"tag"]),
30
GetGroupValueOrDefault(match.Groups
[
"digest"])
Aspire.Hosting.SqlServer (2)
SqlServerBuilderExtensions.cs (2)
260
var count = matchGo.Groups
[
"repeat"].Success ? int.Parse(matchGo.Groups
[
"repeat"].Value, CultureInfo.InvariantCulture) : 1;
Aspire.Templates.Tests (3)
tests\Shared\TemplatesTesting\AspireProject.cs (3)
142
if (matches[0].Groups
[
"tfm"].Value != tfmToUseString)
144
throw new XunitException($"Expected to find {tfmToUseString} but found '{matches[0].Groups
[
"tfm"].Value}' in {csprojPath}: {csprojContent}");
216
DashboardUrl = m.Groups
[
"url"].Value;
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SourceInfo.cs (4)
69
object varA = ILG.GetVariable(match.Groups
[
"a"].Value);
71
object varIA = ILG.GetVariable(match.Groups
[
"ia"].Value);
192
Debug.Assert(match.Groups
[
"arg"].Value == Arg);
193
Debug.Assert(match.Groups
[
"cast"].Value == CodeIdentifier.GetCSharpName(Type));
installer.tasks (1)
StaticFileRegeneration\TpnSectionHeader.cs (1)
162
Name = numberListMatch.Groups
[
"name"].Value,
InteropTests (1)
Helpers\WebsiteProcess.cs (1)
74
ServerPort = m.Groups
[
"port"].Value;
Microsoft.AspNetCore.App.Analyzers (2)
RouteEmbeddedLanguage\Infrastructure\EmbeddedLanguageCommentDetector.cs (2)
46
identifier = match.Groups
[
"identifier"].Value;
47
var optionGroup = match.Groups
[
"option"];
Microsoft.AspNetCore.Components.Endpoints.Tests (21)
EndpointHtmlRendererTest.cs (21)
179
var preamble = match.Groups
[
"preamble"].Value;
186
var prerenderedContent = match.Groups
[
"content"].Value;
189
var epilogue = match.Groups
[
"epilogue"].Value;
297
var preamble = match.Groups
[
"preamble"].Value;
313
var prerenderedContent = match.Groups
[
"content"].Value;
316
var epilogue = match.Groups
[
"epilogue"].Value;
347
var preamble = match.Groups
[
"preamble"].Value;
362
var prerenderedContent = match.Groups
[
"content"].Value;
365
var epilogue = match.Groups
[
"epilogue"].Value;
438
var preamble = match.Groups
[
"preamble"].Value;
453
var prerenderedContent = match.Groups
[
"content"].Value;
456
var epilogue = match.Groups
[
"epilogue"].Value;
503
var preamble = firstMatch.Groups
[
"preamble"].Value;
635
var preamble = match.Groups
[
"preamble"].Value;
659
var prerenderedContent = match.Groups
[
"content"].Value;
662
var epilogue = match.Groups
[
"epilogue"].Value;
686
var preamble = match.Groups
[
"preamble"].Value;
710
var prerenderedContent = match.Groups
[
"content"].Value;
713
var epilogue = match.Groups
[
"epilogue"].Value;
1318
var preamble = match.Groups
[
"preamble"].Value;
1323
var prerenderedContent = match.Groups
[
"content"].Value;
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
DebugProxyLauncher.cs (2)
219
capturedUrl = matchFirefox.Groups
[
"url"].Value;
226
capturedUrl = 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)
32
int keyLengthInBits = Int32.Parse(Regex.Match(encryptionAlgorithm.ToString(), @"^AES_(?<keyLength>\d{3})_CBC$").Groups
[
"keyLength"].Value, CultureInfo.InvariantCulture);
33
string hashAlgorithm = Regex.Match(validationAlgorithm.ToString(), @"^HMAC(?<hashAlgorithm>.*)$").Groups
[
"hashAlgorithm"].Value;
60
int keyLengthInBits = Int32.Parse(Regex.Match(encryptionAlgorithm.ToString(), @"^AES_(?<keyLength>\d{3})_GCM$").Groups
[
"keyLength"].Value, CultureInfo.InvariantCulture);
86
int keyLengthInBits = Int32.Parse(Regex.Match(encryptionAlgorithm.ToString(), @"^AES_(?<keyLength>\d{3})_GCM$").Groups
[
"keyLength"].Value, CultureInfo.InvariantCulture);
123
int keyLengthInBits = Int32.Parse(Regex.Match(encryptionAlgorithm.ToString(), @"^AES_(?<keyLength>\d{3})_CBC$").Groups
[
"keyLength"].Value, CultureInfo.InvariantCulture);
Microsoft.AspNetCore.Grpc.JsonTranscoding (6)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (6)
70
var dateTime = match.Groups
[
"datetime"].Value;
71
var subseconds = match.Groups
[
"subseconds"].Value;
72
var offset = match.Groups
[
"offset"].Value;
185
var sign = match.Groups
[
"sign"].Value;
186
var secondsText = match.Groups
[
"int"].Value;
192
var subseconds = match.Groups
[
"subseconds"].Value;
Microsoft.AspNetCore.Grpc.Swagger (6)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (6)
70
var dateTime = match.Groups
[
"datetime"].Value;
71
var subseconds = match.Groups
[
"subseconds"].Value;
72
var offset = match.Groups
[
"offset"].Value;
185
var sign = match.Groups
[
"sign"].Value;
186
var secondsText = match.Groups
[
"int"].Value;
192
var subseconds = match.Groups
[
"subseconds"].Value;
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Deployers\SelfHostDeployer.cs (1)
158
actualUrl = new Uri(m.Groups
[
"url"].Value);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISExpressDeployer.cs (1)
214
url = new Uri(m.Groups
[
"url"].Value);
Microsoft.Build.Tasks.CodeAnalysis (19)
src\Compilers\Core\MSBuildTask\CanonicalError.cs (19)
308
string origin = match.Groups
[
"ORIGIN"].Value.Trim();
309
string category = match.Groups
[
"CATEGORY"].Value.Trim();
310
parsedMessage.code = match.Groups
[
"CODE"].Value.Trim();
311
parsedMessage.text = (match.Groups
[
"TEXT"].Value + messageOverflow).Trim();
312
parsedMessage.subcategory = match.Groups
[
"SUBCATEGORY"].Value.Trim();
338
string location = match.Groups
[
"LOCATION"].Value.Trim();
339
parsedMessage.origin = match.Groups
[
"FILENAME"].Value.Trim();
354
parsedMessage.line = ConvertToIntWithDefault(match.Groups
[
"LINE"].Value.Trim());
361
parsedMessage.line = ConvertToIntWithDefault(match.Groups
[
"LINE"].Value.Trim());
362
parsedMessage.endLine = ConvertToIntWithDefault(match.Groups
[
"ENDLINE"].Value.Trim());
369
parsedMessage.line = ConvertToIntWithDefault(match.Groups
[
"LINE"].Value.Trim());
370
parsedMessage.column = ConvertToIntWithDefault(match.Groups
[
"COLUMN"].Value.Trim());
377
parsedMessage.line = ConvertToIntWithDefault(match.Groups
[
"LINE"].Value.Trim());
378
parsedMessage.column = ConvertToIntWithDefault(match.Groups
[
"COLUMN"].Value.Trim());
379
parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups
[
"ENDCOLUMN"].Value.Trim());
386
parsedMessage.line = ConvertToIntWithDefault(match.Groups
[
"LINE"].Value.Trim());
387
parsedMessage.column = ConvertToIntWithDefault(match.Groups
[
"COLUMN"].Value.Trim());
388
parsedMessage.endLine = ConvertToIntWithDefault(match.Groups
[
"ENDLINE"].Value.Trim());
389
parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups
[
"ENDCOLUMN"].Value.Trim());
Microsoft.Build.Tasks.CodeAnalysis.Sdk (19)
src\Compilers\Core\MSBuildTask\CanonicalError.cs (19)
308
string origin = match.Groups
[
"ORIGIN"].Value.Trim();
309
string category = match.Groups
[
"CATEGORY"].Value.Trim();
310
parsedMessage.code = match.Groups
[
"CODE"].Value.Trim();
311
parsedMessage.text = (match.Groups
[
"TEXT"].Value + messageOverflow).Trim();
312
parsedMessage.subcategory = match.Groups
[
"SUBCATEGORY"].Value.Trim();
338
string location = match.Groups
[
"LOCATION"].Value.Trim();
339
parsedMessage.origin = match.Groups
[
"FILENAME"].Value.Trim();
354
parsedMessage.line = ConvertToIntWithDefault(match.Groups
[
"LINE"].Value.Trim());
361
parsedMessage.line = ConvertToIntWithDefault(match.Groups
[
"LINE"].Value.Trim());
362
parsedMessage.endLine = ConvertToIntWithDefault(match.Groups
[
"ENDLINE"].Value.Trim());
369
parsedMessage.line = ConvertToIntWithDefault(match.Groups
[
"LINE"].Value.Trim());
370
parsedMessage.column = ConvertToIntWithDefault(match.Groups
[
"COLUMN"].Value.Trim());
377
parsedMessage.line = ConvertToIntWithDefault(match.Groups
[
"LINE"].Value.Trim());
378
parsedMessage.column = ConvertToIntWithDefault(match.Groups
[
"COLUMN"].Value.Trim());
379
parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups
[
"ENDCOLUMN"].Value.Trim());
386
parsedMessage.line = ConvertToIntWithDefault(match.Groups
[
"LINE"].Value.Trim());
387
parsedMessage.column = ConvertToIntWithDefault(match.Groups
[
"COLUMN"].Value.Trim());
388
parsedMessage.endLine = ConvertToIntWithDefault(match.Groups
[
"ENDLINE"].Value.Trim());
389
parsedMessage.endColumn = ConvertToIntWithDefault(match.Groups
[
"ENDCOLUMN"].Value.Trim());
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
4792
Assert.Equal(filePath, match.Groups
[
"path"].Value);
4793
Assert.Contains("testhost", match.Groups
[
"app"].Value);
4794
Assert.Equal(currentProcess.Id, int.Parse(match.Groups
[
"pid"].Value));
Microsoft.CodeAnalysis.EditorFeatures (1)
EditorConfigSettings\DataProvider\SettingsProviderBase.cs (1)
144
if (match.Success && match.Groups
[
"key"].Value is string isolatedKey &&
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Semantics\SpeculationAnalyzerTestsBase.cs (2)
33
var initialExpression = initialMatch.Groups
[
"content"].Value;
35
var initialTree = Parse(UnderTestRegex.Replace(code, m => m.Groups
[
"content"].Value));
Microsoft.CodeAnalysis.Features (2)
EmbeddedLanguages\EmbeddedLanguageCommentDetector.cs (2)
43
identifier = match.Groups
[
"identifier"].Value;
45
var optionGroup = match.Groups
[
"option"];
Microsoft.CodeAnalysis.Features.Test.Utilities (8)
EditAndContinue\SourceMarkers.cs (8)
45
=> from ids in match.Groups
[
"Id"].Value.Split([','], StringSplitOptions.RemoveEmptyEntries)
56
if (match.Groups
[
"Name"].Value != tagName)
61
var isStartingTag = match.Groups
[
"IsEnd"].Value == "" || match.Groups
[
"IsStartAndEnd"].Value != "";
62
var isEndingTag = match.Groups
[
"IsEnd"].Value != "" || match.Groups
[
"IsStartAndEnd"].Value != "";
104
var span = matches[i].Groups
[
"TrackingStatement"];
125
var exceptionRegion = matches[i].Groups
[
"ExceptionRegion"];
Microsoft.CodeAnalysis.Test.Utilities (5)
MarkedSource\SourceWithMarkedNodes.cs (5)
56
var tagName = match.Groups
[
"TagName"];
57
var markedSyntax = match.Groups
[
"MarkedSyntax"];
58
var syntaxKindOpt = match.Groups
[
"SyntaxKind"].Value;
59
var idOpt = match.Groups
[
"Id"].Value;
61
var parentIdOpt = match.Groups
[
"ParentId"].Value;
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\ProjectInfo.cs (2)
530
return match.Success ? (match.Groups
[
"name"].Value, match.Groups
[
"flavor"].Value) : default;
Microsoft.DotNet.Build.Manifest (1)
BuildModelFactory.cs (1)
235
string replacementUri = $"{Regex.Unescape(AzureDevOpsHostPattern)}/{m.Groups
[
"account"].Value}";
Microsoft.DotNet.Build.Tasks.Feed (11)
src\BlobFeedAction.cs (5)
46
AccountName = m.Groups
[
"accountname"].Value;
47
ContainerName = m.Groups
[
"containername"].Value;
48
RelativePath = m.Groups
[
"relativepath"].Value;
50
feedUrl = m.Groups
[
"feedurl"].Value;
51
hasToken = !string.IsNullOrEmpty(m.Groups
[
"token"].Value);
src\BlobUrlInfo.cs (4)
44
AccountName = hostNameMatch.Groups
[
"accountname"].Value;
45
Endpoint = hostNameMatch.Groups
[
"endpoint"].Value;
57
ContainerName = containerAndBlobMatch.Groups
[
"containername"].Value;
58
BlobPath = containerAndBlobMatch.Groups
[
"blobpath"].Value;
src\common\AzureConnectionStringBuildTask.cs (2)
45
AccountName = matches[0].Groups
[
"name"].Value;
46
AccountKey = matches[0].Groups
[
"key"].Value;
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
PublishArtifactsInManifestTests.cs (3)
93
matches.Groups
[
"account"]?.Value.Should().Be(account);
94
matches.Groups
[
"visibility"]?.Value.Should().Be(visibility);
95
matches.Groups
[
"feed"]?.Value.Should().Be(feed);
Microsoft.DotNet.Git.IssueManager (5)
Clients\AzureDevOpsClient.cs (3)
81
return (m.Groups
[
"account"].Value,
82
m.Groups
[
"project"].Value,
83
m.Groups
[
"repo"].Value);
Clients\GitHubClient.cs (2)
109
return (match.Groups
[
"owner"].Value, match.Groups
[
"repo"].Value);
Microsoft.DotNet.SignCheckLibrary (1)
Utils.cs (1)
131
match.Success ? match.Groups
[
groupName].Value : null;
Microsoft.Extensions.AI.Evaluation.Quality (1)
EvaluationMetricExtensions.cs (1)
106
if (!match.Success || match.Groups
[
"value"] is not Group valueGroup || !valueGroup.Success)
Microsoft.ML.Data (8)
Commands\EvaluateCommand.cs (1)
83
var s = match.Groups
[
_groupName];
EntryPoints\EntryPointNode.cs (7)
1078
if (match.Groups
[
"NumericAccessor"].Success)
1081
match.Groups
[
"Name"].Value,
1082
int.Parse(match.Groups
[
"NumericAccessor"].Value));
1085
if (match.Groups
[
"StringAccessor"].Success)
1088
match.Groups
[
"Name"].Value,
1089
match.Groups
[
"StringAccessor"].Value);
1092
return new SimpleVariableBinding(match.Groups
[
"Name"].Value);
Microsoft.ML.ResultProcessor (11)
ResultProcessor.cs (11)
612
timeElapsed = mc.Groups
[
"timeElapsed"].Value;
613
executionDate = mc.Groups
[
"executionDate"].Value;
621
if (mc.Groups
[
"memoryType"].Value == "Virtual")
622
virtualMemory = mc.Groups
[
"memoryUsage"].Value;
623
else if (mc.Groups
[
"memoryType"].Value == "Physical")
624
physicalMemory = mc.Groups
[
"memoryUsage"].Value;
798
string name = matchNameValueDeviation.Groups
[
"name"].Value;
799
Double doubleValue = Double.Parse(matchNameValueDeviation.Groups
[
"value"].Value, CultureInfo.InvariantCulture);
801
float deviation = (float)Double.Parse(matchNameValueDeviation.Groups
[
"deviation"].Value, CultureInfo.InvariantCulture);
818
string name = matchNameValue.Groups
[
"name"].Value;
819
float value = float.Parse(matchNameValue.Groups
[
"value"].Value, CultureInfo.InvariantCulture);
SemanticSearch.BuildTask (3)
GenerateFilteredReferenceAssembliesTask.cs (3)
217
var inclusion = match.Groups
[
"Inclusion"].Value;
218
var kinds = match.Groups
[
"Kinds"].Value;
219
var metadataName = match.Groups
[
"MetadataName"].Value;
System.Private.Xml (24)
System\Xml\Serialization\SourceInfo.cs (4)
73
object varA = ILG.GetVariable(match.Groups
[
"a"].Value);
75
object varIA = ILG.GetVariable(match.Groups
[
"ia"].Value);
194
Debug.Assert(match.Groups
[
"arg"].Value == Arg);
195
Debug.Assert(match.Groups
[
"cast"].Value == CodeIdentifier.GetCSharpName(Type!));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (20)
2710
Debug.Assert(match.Groups
[
"locA1"].Value == match.Groups
[
"locA2"].Value);
2711
Debug.Assert(match.Groups
[
"locA1"].Value == match.Groups
[
"locA3"].Value);
2712
Debug.Assert(match.Groups
[
"locI1"].Value == match.Groups
[
"locI2"].Value);
2714
LocalBuilder localA = ilg.GetLocal(match.Groups
[
"locA1"].Value);
2715
LocalBuilder localI = ilg.GetLocal(match.Groups
[
"locI1"].Value);
2756
System.Diagnostics.Debug.Assert(CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups
[
"a"].Value)).IsArray);
2757
ilg.Load(ilg.GetVariable(match.Groups
[
"a"].Value));
2758
ilg.Load(ilg.GetVariable(match.Groups
[
"ia"].Value));
2800
object oVar = ilg.GetVariable(match.Groups
[
"locA1"].Value);
2836
Type varType = CodeGenerator.GetVariableType(ilg.GetVariable(match.Groups
[
"a"].Value));
3525
ilg.Ldstr(match.Groups
[
"qnames"].Value);
3534
LocalBuilder localO = ilg.GetLocal(match.Groups
[
"o"].Value);
3537
ilg.Ldstr(match.Groups
[
"qnames"].Value);
3546
LocalBuilder localO = ilg.GetLocal(match.Groups
[
"o"].Value);
3558
LocalBuilder localO = ilg.GetLocal(match.Groups
[
"o"].Value);
3572
ilg.Ldc(int.Parse(match.Groups
[
"index"].Value, CultureInfo.InvariantCulture));
3585
ilg.Ldc(int.Parse(match.Groups
[
"index"].Value, CultureInfo.InvariantCulture));
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\GroupCollection.cs (1)
199
Group group = this
[
key];
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
315
string propertyName = match.Groups
[
"name"].Value.Trim();
VersioningWebSite (3)
VersionRouteAttribute.cs (3)
59
var lowerBound = match.Groups
[
"lb"].Value;
60
var higherBound = match.Groups
[
"hb"].Value;
61
var 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);