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 Windows Debug) failed Feb 6, 2026 in 7m 48s

Build Windows Debug 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 Windows Debug)

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 Windows Debug)

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 Windows Debug)

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 Windows Debug)

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 Windows Debug)

Build log #L9

Error: Not found SourceFolder: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite