30 references to Matches
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.Build.BuildCheck.UnitTests (11)
EndToEndTests.cs (11)
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);
468Regex.Matches(output, expectedDiagnostic).Count.ShouldBe(expectCheckTrigger ? 2 : 0);
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.Extensions.AI.Ollama.Tests (1)
Microsoft.Maui (1)
Microsoft.Maui.Controls (1)