mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
Updating to dotnet 5.0 (#1218)
* adding network file validator contract * updating to dotnet 5 * reverting change in pipeline * updating target framework to 5.0 * updating srgen and using target framework var * reverting srgen back to 3.1 * Adding dotnet 3.1 to build * Fixing task def * removing global json * updating other 3.1 refs to 5.0 * removing netcore folder from build.cake * Moving and renaming dotnet 3.1 task
This commit is contained in:
@@ -64,7 +64,7 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.Connection
|
||||
|
||||
// Given a connection that times out and responds to cancellation
|
||||
var mockConnection = new Mock<DbConnection> { CallBase = true };
|
||||
CancellationToken token;
|
||||
CancellationToken token = new CancellationToken();
|
||||
bool ready = false;
|
||||
mockConnection.Setup(x => x.OpenAsync(It.IsAny<CancellationToken>()))
|
||||
.Callback<CancellationToken>(t =>
|
||||
@@ -125,7 +125,7 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.Connection
|
||||
|
||||
// Given a connection that times out and responds to cancellation
|
||||
var mockConnection = new Mock<DbConnection> { CallBase = true };
|
||||
CancellationToken token;
|
||||
CancellationToken token = new CancellationToken();
|
||||
bool ready = false;
|
||||
mockConnection.Setup(x => x.OpenAsync(It.IsAny<CancellationToken>()))
|
||||
.Callback<CancellationToken>(t =>
|
||||
@@ -193,7 +193,7 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.Connection
|
||||
|
||||
// Given a connection that times out and responds to cancellation
|
||||
var mockConnection = new Mock<DbConnection> { CallBase = true };
|
||||
CancellationToken token;
|
||||
CancellationToken token = new CancellationToken();
|
||||
bool ready = false;
|
||||
mockConnection.Setup(x => x.OpenAsync(It.IsAny<CancellationToken>()))
|
||||
.Callback<CancellationToken>(t =>
|
||||
|
||||
Reference in New Issue
Block a user