7 references to Matches
dotnet (1)
Telemetry\MacAddressGetter.cs (1)
47foreach (Match match in Regex.Matches(shelloutput, MacRegex, RegexOptions.IgnoreCase))
dotnet-new.IntegrationTests (1)
DotnetNewTestTemplatesTests.cs (1)
273var packageRefMatches = Regex.Matches(
Microsoft.Build (2)
Logging\TerminalLogger\TerminalLogger.cs (2)
273MatchCollection tlMatches = Regex.Matches(argsString, @"(?:/|-|--)(?:tl|terminallogger):(?'value'on|off|true|false|auto)", RegexOptions.IgnoreCase); 276MatchCollection verbosityMatches = Regex.Matches(argsString, @"(?:/|-|--)(?:v|verbosity):(?'value'\w+)", RegexOptions.IgnoreCase);
Microsoft.Build.Engine.OM.UnitTests (2)
Construction\WhiteSpacePreservation_Tests.cs (2)
506var crlfCount = Regex.Matches(projectResults, @"\r\n", RegexOptions.Multiline).Count; 515Assert.Empty(Regex.Matches(projectResults, @"\r\n", RegexOptions.Multiline));
Microsoft.NET.Build.Tests (1)
AppHostTests.cs (1)
451Regex.Matches(result.StdOut, "NETSDK1113", RegexOptions.None).Count.Should().Be(Retries);