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 (Build MacOS Release) failed Feb 6, 2026 in 5m 46s

Build MacOS Release 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 (Build MacOS Release)

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 (Build MacOS Release)

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 (Build MacOS Release)

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 (Build MacOS Release)

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 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build MacOS Release)

Build log #L9

Error: Not found SourceFolder: /Users/runner/work/1/s/artifacts/tmp/Release/testsuite