Skip to content

Fix SqlCommand.Cancell null ref exception#4372

Merged
paulmedynski merged 2 commits into
mainfrom
dev/mdaigle/comand-null-ref
Jun 18, 2026
Merged

Fix SqlCommand.Cancell null ref exception#4372
paulmedynski merged 2 commits into
mainfrom
dev/mdaigle/comand-null-ref

Add doc comment.

b5d889c
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PR-SqlClient-Package (Win11_Azure_Sql net9_0_AnyCPU_ManagedSNI_1) succeeded Jun 17, 2026 in 26m 10s

Win11_Azure_Sql net9_0_AnyCPU_ManagedSNI_1 succeeded with issues

Annotations

Check failure on line 0 in EXEC

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package (Win11_Azure_Sql net9_0_AnyCPU_ManagedSNI_1)

EXEC#L0

EXEC(0,0): Error Message: 

Check failure on line 730 in build.proj

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package (Win11_Azure_Sql net9_0_AnyCPU_ManagedSNI_1)

build.proj#L730

build.proj(730,5): Error MSB3073: The command " "dotnet" test "D:\a\_work\1\s\src\..\src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft.Data.SqlClient.UnitTests.csproj" -p:Configuration=Debug --blame-hang --blame-hang-dump-type full --blame-hang-timeout 10m --filter "category=flaky" -f net9.0 -p:ReferenceType=Package -p:SqlClientPackageVersion=7.1.0-preview1ci16819 -p:SqlServerPackageVersion=1.1.0-preview1ci16819 --results-directory "TestResults" --logger:"trx;LogFilePrefix=SqlClientUnit-Windows_NT-net9.0" " exited with code 1.

Check failure on line 49 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package (Win11_Azure_Sql net9_0_AnyCPU_ManagedSNI_1)

Build log #L49

Error: The process 'D:\a\_work\_tool\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 52 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PR-SqlClient-Package (Win11_Azure_Sql net9_0_AnyCPU_ManagedSNI_1)

Build log #L52

Dotnet command failed with non-zero exit code on the following projects : [ 'D:\\a\\_work\\1\\s\\build.proj' ]