Skip to content

Add `Assert.Scope()` for soft assertions

19a1f23
Select commit
Loading
Failed to load commit list.
Open

Add Assert.Scope() for soft assertions #7355

Add `Assert.Scope()` for soft assertions
19a1f23
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx failed Feb 6, 2026 in 14m 54s

Build #20260206.16 failed

Annotations

Check failure on line 28 in src/TestFramework/TestFramework/Assertions/Assert.Scope.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

src/TestFramework/TestFramework/Assertions/Assert.Scope.cs#L28

src/TestFramework/TestFramework/Assertions/Assert.Scope.cs(28,31): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'static Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Scope() -> System.IDisposable!' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 28 in src/TestFramework/TestFramework/Assertions/Assert.Scope.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

src/TestFramework/TestFramework/Assertions/Assert.Scope.cs#L28

src/TestFramework/TestFramework/Assertions/Assert.Scope.cs(28,31): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'static Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Scope() -> System.IDisposable!' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 28 in src/TestFramework/TestFramework/Assertions/Assert.Scope.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

src/TestFramework/TestFramework/Assertions/Assert.Scope.cs#L28

src/TestFramework/TestFramework/Assertions/Assert.Scope.cs(28,31): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'static Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Scope() -> System.IDisposable!' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 28 in src/TestFramework/TestFramework/Assertions/Assert.Scope.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

src/TestFramework/TestFramework/Assertions/Assert.Scope.cs#L28

src/TestFramework/TestFramework/Assertions/Assert.Scope.cs(28,31): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'static Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Scope() -> System.IDisposable!' is not part of the declared public API (https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)