Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1937,8 +1937,10 @@ private Task InternalOpenAsync(SqlConnectionOverrides overrides, CancellationTok
s_diagnosticListener.IsEnabled(SqlClientConnectionOpenError.Name))
{
result.Task.ContinueWith(
continuationAction: s_openAsyncComplete,
continuationAction: static (task, state) => s_openAsyncComplete(task, state),
Comment thread
cheenamalhotra marked this conversation as resolved.
state: operationId, // connection is passed in TaskCompletionSource async state
cancellationToken: CancellationToken.None, // we want the continuation task to run even if the original operation was cancelled
continuationOptions: TaskContinuationOptions.ExecuteSynchronously,
scheduler: TaskScheduler.Default
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<!-- SqlClient test dependencies. -->
<ItemGroup>
<PackageVersion Include="BenchmarkDotNet" Version="0.15.8" />
<PackageVersion Include="Microsoft.DotNet.RemoteExecutor" Version="11.0.0-beta.25476.3" />
Comment thread
cheenamalhotra marked this conversation as resolved.
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.13" />
<PackageVersion Include="Microsoft.SqlServer.SqlManagementObjects" Version="181.15.0" />
<PackageVersion Include="Microsoft.SqlServer.Types" Version="170.1000.7" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@
<!-- to "Package". If this is not specified, the build will revert to default behavior of -->
<!-- referencing MDS via the project. -->
<ProjectReference Include="$(RepoRoot)src\Microsoft.Data.SqlClient\src\Microsoft.Data.SqlClient.csproj"
Condition="'$(ReferenceType)' != 'Package'" />
Condition="'$(ReferenceType)' != 'Package'"
Private="true" />
<PackageReference Include="Microsoft.Data.SqlClient"
Condition="'$(ReferenceType)' == 'Package'" />

Expand All @@ -360,7 +361,6 @@
<PackageReference Include="System.ValueTuple" />
<PackageReference Include="Microsoft.Data.SqlClient.SNI"
Condition="'$(ReferenceType)' != 'Package'" />
<PackageReference Include="Microsoft.DotNet.RemoteExecutor" />
<PackageReference Include="Microsoft.DotNet.XUnitExtensions" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Microsoft.SqlServer.Types" />
Expand Down Expand Up @@ -395,7 +395,6 @@
<PackageReference Include="Microsoft.Bcl.Cryptography" />
<PackageReference Include="Microsoft.Data.SqlClient.SNI.runtime"
Condition="'$(ReferenceType)' != 'Package'" />
<PackageReference Include="Microsoft.DotNet.RemoteExecutor" />
<PackageReference Include="Microsoft.DotNet.XUnitExtensions" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Microsoft.SqlServer.Types" />
Expand All @@ -422,4 +421,5 @@
<ProjectReference Include="$(TestsPath)tools/TDS/TDS.EndPoint/TDS.EndPoint.csproj" />
<ProjectReference Include="$(TestsPath)tools/TDS/TDS.Servers/TDS.Servers.csproj" />
</ItemGroup>

</Project>
Loading
Loading