27 references to Matches
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.Build.BuildCheck.UnitTests (10)
EndToEndTests.cs (10)
63Regex.Matches(output, "BC0201: .* Property").Count.ShouldBe(2);
64Regex.Matches(output, "BC0202: .* Property").Count.ShouldBe(2);
65Regex.Matches(output, "BC0203 .* Property").Count.ShouldBe(2);
128Regex.Matches(output.LogOutput, expectedDiagnostic).Count.ShouldBe(2);
242Regex.Matches(output, expectedDiagnostic).Count.ShouldBe(2);
352Regex.Matches(output, "BC0202: .* Property").Count.ShouldBe(2);
353Regex.Matches(output, "BC0203: .* Property").Count.ShouldBe(38);
357Regex.Matches(output, "BC0202: .* Property").Count.ShouldBe(2);
358Regex.Matches(output, "BC0203: .* Property").Count.ShouldBe(42);
390Regex.Matches(output, expectedDiagnostic).Count.ShouldBe(2);
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Engine.UnitTests (4)
Microsoft.Build.Tasks.UnitTests (2)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.DotNet.Open.Api.Tools.Tests (4)
Microsoft.Maui.Controls (1)