29 references to Matches
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.Build.BuildCheck.UnitTests (11)
EndToEndTests.cs (11)
62Regex.Matches(output, "BC0201: .* Property").Count.ShouldBe(2);
63Regex.Matches(output, "BC0202: .* Property").Count.ShouldBe(2);
64Regex.Matches(output, "BC0203 .* Property").Count.ShouldBe(2);
127Regex.Matches(output.LogOutput, expectedDiagnostic).Count.ShouldBe(2);
241Regex.Matches(output, expectedDiagnostic).Count.ShouldBe(2);
351Regex.Matches(output, "BC0202: .* Property").Count.ShouldBe(2);
352Regex.Matches(output, "BC0203: .* Property").Count.ShouldBe(38);
356Regex.Matches(output, "BC0202: .* Property").Count.ShouldBe(2);
357Regex.Matches(output, "BC0203: .* Property").Count.ShouldBe(42);
393Regex.Matches(output, expectedDiagnostic).Count.ShouldBe(2);
471Regex.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.Controls (1)